1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

angular 13 ng build library fails (ivy partial compilation mode)

Discussão em 'Angular' iniciado por afriedman111, Agosto 7, 2025.

  1. afriedman111

    afriedman111 Guest

    Recently I was having a problem installing an npm package (that used node-gyp). I tried upgrading the minor version of node from version 16.13.0 to 16.13.1 and upgrading my angular cli from 13.0.2 to 13.2.0. Once I got the package to install I generated a library with ng g library new-library. I don't know what what actually broke it, but now whenever I try to build alibrary it produces an error. I try ng build my-lib and get the below error.

    ✖ Compiling with Angular sources in Ivy partial compilation mode.
    Transform failed with 1 error:
    error: Invalid version: "15.2-15.3"


    I tried reverting the version of node and angular cli but it didn't fix the problem. I even reverted the code to its original state and I get the error now. Is this a problem with my environment? How do I fix this issue?

    Continue reading...

Compartilhe esta Página