-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfeatureIssue that requests a new featureIssue that requests a new feature
Milestone

Description
🚀 Feature request
core-js 3.0.0 is released, but ng serve
fails with error
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 'C:\Work\frontend\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
With core-js@3.0.0
it's import 'core-js/proposals/reflect-metadata';
Workaround: Add this to your tsconfig.json:
{
"compilerOptions": {
"paths": {
"core-js/es7/reflect": ["node_modules/core-js/proposals/reflect-metadata"],
"core-js/es6/*": ["node_modules/core-js/es/*"]
}
}
}
Command (mark with an x
)
- [ ] new
- [x] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
nvuhung, chestongo, KrzysztofKarol, LucySpass, floisloading and 49 moreMartinX3, gagle, DmitriyIvanko, glemiere, cyfrost and 1 morechestongo, ph55, buu700, kuncevic, Tonio31 and 10 morechestongo, ph55, MartinX3, gagle, KrzysztofKarol and 7 moreMartinX3, gagle, DmitriyIvanko, DmytroPotapov, glemiere and 2 moreMartinX3, gagle, DmitriyIvanko, CAspeling, cyfrost and 1 more
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfeatureIssue that requests a new featureIssue that requests a new feature