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

1.6K
Visualizações
How to run ngcc with Angular 11/12

So we have a monorepo that has two different projects using Angular. We also have a build pipeline to automate the integration process. The problem I'm running into is that ngcc does not support parallel execution. I want to run the ngcc command manually before the parallel process starts, but I don't see to find how?

The project is using Angular 11, and I have @angular/cli@12.2.1 installed globally, so I was expecting ngcc to be part of the tools there but no luck so far. I'm simply getting this error: -bash: ngcc: command not found

In case anyone is wondering this is the error I get if I simply try to run ng build in parallel:

ERROR in ngcc is already running at process with id 2113.
If you are running multiple builds in parallel then you might try pre-processing your node_modules via the command line ngcc tool before starting the builds.
(If you are sure no ngcc process is running then you should delete the lock-file at /Users/runner/work/1/s/frontend/apps/MY_APP/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.)
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Can you try: npx ngcc -s path ?

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