Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

508
Visualizações
Error: Tried to overwrite <package_path>.__ivy_ngcc_bak with an ngcc back up file, which is disallowed

I have upgraded from Angular 8 to 9 and have enabled Ivy following all the steps here. When I run npm install a handful of my packages throw the error:

Tried to overwrite <package_path>.__ivy_ngcc_bak with an ngcc back up file, which is disallowed.

What does this mean and why is it happening? I'm having a hard time finding any info on it. I've installed the latest version for all of these packages throwing this error and I still get the error when I run npm install. Thanks!

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

This is an issue regarding the ivy compiler which is the default compiler from angular 9 onwards (read issue details). you can disable ivy compiler as below to avoid this error.

  • Go to tsconfig.json and find angularCompilerOptions.

  • Then add below

    "angularCompilerOptions": { "enableIvy": false }

over 4 years ago · Santiago Trujillo Relatório

0

This can happen when you have an ivy-compiled node package and you update the node package's files.

To fix, delete all of the compilation files for the node package (eg. in <package_path>) that have __ivy_ngcc_ in the filename or in the file extension, then restart Angular.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda