Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.6K
Views
Cómo ejecutar ngcc con Angular 11/12

Entonces tenemos un monorepo que tiene dos proyectos diferentes usando Angular. También tenemos una canalización de compilación para automatizar el proceso de integración. El problema con el que me encuentro es que ngcc no admite la ejecución en paralelo. Quiero ejecutar el comando ngcc manualmente antes de que comience el proceso paralelo, pero no veo cómo.

El proyecto usa Angular 11, y tengo @angular/cli@12.2.1 instalado globalmente, por lo que esperaba que ngcc fuera parte de las herramientas allí, pero hasta ahora no tuve suerte. Simplemente recibo este error: -bash: ngcc: command not found

En caso de que alguien se pregunte, este es el error que obtengo si simplemente intento ejecutar ng build en paralelo:

 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 answers
Answer question

0

¿Puedes probar: npx ngcc -s path ?

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!