Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error :- when install the latest version@3.0.1 of core-js in angular 7 #533

Closed
NikitaPooja opened this issue Apr 23, 2019 · 1 comment
Closed

Comments

@NikitaPooja
Copy link

When update the core-js latest version I got the following error in polyfills.ts file

ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/client/shim' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/array' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/date' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/function' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/map' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/math' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/number' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/object' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/parse-float' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/parse-int' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/reflect' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/regexp' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/set' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/string' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/symbol' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/weak-map' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es7/array' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es7/object' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js
Module not found: Error: Can't resolve 'core-js/es7/reflect' in '/home/iron/Documents/latest gene update/gene/gene/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es7/reflect' in '/home/iron/Documents/latest gene update/gene/gene/src'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/shim' in '/home/iron/Documents/latest gene update/gene/gene/src'

@zloirock
Copy link
Owner

CommonJS API was updated in core-js@3, so it's expected that old entry points do not work. See this article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants