Closed DanWahlin closed 2 years ago
@DanWahlin I removed 'core-js' from your package.json and references to it in your pollyfills.ts file. I then removed all the node-modules and reinstalled them. I was then able to run playground with no issues. I am not sure if you need 'core-js' for something but it is not in a default angular project.
Thanks @lurock! I suspect that was left over from older versions but didn't think to remove it. That project started with AngularJS and has been migrated to each version over the years. :-) Thanks again.
Versions
Repro steps
Observed Behavior
[ng serve]: Error: Module not found: Error: Can't resolve 'core-js/proposals/reflect-metadata' in '/Users/danwahlin/Dropbox/Projects/GitHub/Angular-JumpStart'
Full output:
Desired Behavior
Successful build and ability to run Angular Playground
Any other details that may be useful (optional)
I just updated the project to Angular 13 using
ng update @angular/cli @angular/core angular-playground
.I tried deleting and reinstalling node_modules just to see if it made a difference but still get the same error. core-js version in the project is 2.5.4.