I uninstall and install the NPM using the command
npm install
and getting error after this I also tried
npm audit fix --force
after that the error come
An unhandled exception occurred: Cannot read property 'Minus' of undefined
See "/private/var/folders/8n/6vsx9lx93lx9wrgxm1q_yv4c0000gn/T/ng-pMlA9a/angular-errors.log" for further details.
npm ERR! Test failed. See above for more details.
got same error. it's bug in new version of @angular/compiler-cli fixed by downgrade version to "10.0.12"
UPD. checked on new version "@angular/compiler": "~10.1.1" - works fine
I had to run the following command:
ng update @angular/cli @angular/core --allow-dirty --force
And then remove the line
"es5BrowserSupport": true
from the
angular.json
file.
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