I have an angular 8, that uses karma/jasmine to run some unit tests. I can run tests by executing the following command ng test
but I'm getting the following error:
ERROR in ./src/polyfills.ts Module not found: Error: Can't resolve 'zone.js/dist/zone' in 'C:\PrjNET\Elevation3\FW\4.00\Project\Framework\Development\Client\ElevationJS\shell\src' resolve 'zone.js/dist/zone' in 'C:\PrjNET\Elevation3\FW\4.00\Project\Framework\Development\Client\ElevationJS\shell\src'
Any one know how to solve it?
I fixed it in my project with this command:
npm install [email protected] --save
I was getting this error using [email protected]
.
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