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
The Laptop Crashed and I got this problem after restart. Removing the below file from ionic project solved the problem.
node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file
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.
npm install again, to see if it fixes your problem.ngcc manually.node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__node_modules directory and try npm i again.Just run
ionic repair
And select Yes
Try deleting your ngcc_lock_file in the path:
node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file
It's work for me.
just remove the node_modulesthen run npm i
I deleted the file node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file_ from the node_modules folder and its working fine.