Error with core-js after upgrading to Angular 8.0
See original GitHub issueAfter ng update I upgraded to Angular 8.0. When I try to run my app I get:
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/reflect'
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Angular 8 runtime error after core-js upgrade - Stack Overflow
I was able to solve the issue after reading the core-js version 3 change log and other articles. This change to how I...
Read more >Browser support - Angular
Angular is built on the latest standards of the web platform. Targeting such a wide range of browsers is challenging because they do...
Read more >Getting Error In fresh downloaded Angular project (code) #7262
Open In the visual code · In Terminal Run the command -- > yarn to install the Node_modules · After successfully install the...
Read more >angular-devkit/core - npm
Start using @angular-devkit/core in your project by running `npm i ... SchemaValidatorResult { success: boolean; errors?: string[]; } ...
Read more >What's New in Angular 8? [Update Guide]
If you get module not found error, you need to update your import statements in polyfills.js . This is because core-js imports have...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Inside polyfills.ts I updated this line:
import 'core-js/es6/reflect';To this one:
import 'core-js/es/reflect';And worked like a charm…
@mhosman Just to inform you, you can remove that line entirely. The polyfills are now handled by Angular CLI itself.