Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR in ngcc is already running at process with id xxxx [closed]

Tags:

angular9

When I try to run ng serve command in my project it produce the below error.

ERROR in ngcc is already running at process with id xxxx

like image 365
Shyam Narayan Avatar asked Mar 06 '20 08:03

Shyam Narayan


People also ask

What is Ngcc in Angular?

ngcc (which stands for Angular compatibility compiler) is designed to process code coming from NPM and produce the equivalent Ivy version, as if the code was compiled with ngtsc .


Video Answer


2 Answers

Try deleting your ngcc_lock_file in the path:

node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file 

Or for Angular 9, the lock file to delete is:

node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ 

I had the same issue and I and deleted that file and it started working for me.

I hope it helps!

like image 96
Compiler v2 Avatar answered Sep 22 '22 05:09

Compiler v2


 rm node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__  
like image 23
Ole Avatar answered Sep 20 '22 05:09

Ole