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.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
Try deleting your ngcc_lock_file
in the path:
node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file
It's work for me.
Fix this all in one easy command:
run npm ci
this will delete node_modules
and npm install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With