After upgrade new version of Angular that error occurs:
Can't resolve 'core-js/client/shim
In main.ts
I have code:
// Shim the environment
import 'core-js/client/shim';
Any ideas on how to resolve?
Try to replace:
// Shim the environment
import 'core-js/client/shim';
by:
// Shim the environment
import 'core-js/features/reflect';
Angular use Reflecting to make Dependency Injection works.
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