Issue
I'm trying to build and serve my project. It was working properly, I updated it from git and then suddenly when I serve it, there is an Error saying "Another process, with id 29800, is currently running ngcc." I retried "npm i", also restarted the IDE and even pc, but it still says the same.
Solution
This happens when ngcc (Angular compatibility compiler) is not finished doing what it does, you must have enabled ivy
in your Angular project. read here for more info about ivy.
- First try to run
npm install
again, to see if it fixes your problem. - Try to run
ngcc
manually. - remove this file
node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__
- If none of the above worked, then remove
node_modules
directory and trynpm i
again.
Answered By - azerafati
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.