ERROR in ngcc is already running at process with id xxxx [closed]
Solution 1:
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!
Solution 2:
rm node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__
Solution 3:
Working Solution
- Delete all node modules
- Close any working terminal or you can shut down your PC if you cant make sure that you've closed all working terminals
- run
npm i
to setup your modules - run
ng s
It's working with me well !