angular ngcc process lock file

Error: Timed out waiting 25s for another ngcc process, with id 4864, to complete

This tutorial guides you how to solve the error “Timed out waiting 25s for another ngcc process, with id 4864, to complete” while runnning angular ng serve command.

Timed out waiting for another ngcc process Error

Are you facing the below error while running ng serve  command ?

> ng serve

'wmic.exe' is not recognized as an internal or external command, operable program or batch file.
Another process, with id 4864, is currently running ngcc.
Waiting up to 25s for it to finish.
Error: Timed out waiting 25s for another ngcc process, with id 4864, to complete

So what you need to do is first stop the ng serve and try to look for file name called “__ngcc_lock_file__” (Angular 9) in the following path “<project directory>\node_modules\@angular\compiler-cli\ngcc” as shown below.

angular ngcc process lock file

Then delete that file if you are sure that no ngcc process is running. That’s it.

Also See:

References:

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments