question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with core-js after upgrading to Angular 8.0

See original GitHub issue

After 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:closed
  • Created 4 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

48reactions
mhosmancommented, May 29, 2019

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…

21reactions
sarunintcommented, Jun 5, 2019

@mhosman Just to inform you, you can remove that line entirely. The polyfills are now handled by Angular CLI itself.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found