Menu Close

ERROR in ngcc is already running at process with id 6139

5
(1)

Sometimes you 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. To resolve the error try deleting your ngcc_lock_file in the path from node_modules.

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

For Angular 9 and above version, the lock file to delete is:

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

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

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Share

Posted in Angular

Leave a Reply

Your email address will not be published. Required fields are marked *

You can also read...