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

@angular-devkit/build-angular package doesn't reflect master #14531

Closed
crooksey opened this issue May 28, 2019 · 2 comments
Closed

@angular-devkit/build-angular package doesn't reflect master #14531

crooksey opened this issue May 28, 2019 · 2 comments

Comments

@crooksey
Copy link

🐞 Bug report

Command (mark with an x)


- [X] build
- [X] serve

Description

https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_angular/src/angular-cli-files/models/jit-polyfills.js

References

import 'core-js/proposals/reflect-metadata';

However, my installed version (on a clean node modules) shows

import 'core-js/es7/reflect';

This code was updated approx 6 weeks ago in master, yet is still not published on a recent release to npm,

🔬 Minimal Reproduction

Install latest package, view installed polyfill

🔥 Exception or 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 '/home/luke/nodejs/ecom2/ecom2-frontend/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models'
ℹ 「wdm」: Failed to compile.


🌍 Your Environment


@angular-devkit/architect         0.13.9
@angular-devkit/build-angular     0.13.9
@angular-devkit/build-optimizer   0.13.9
@angular-devkit/build-webpack     0.13.9
@angular-devkit/core              7.3.9
@angular-devkit/schematics        7.3.9
@angular/cli                      7.3.9
@ngtools/webpack                  7.3.9
@schematics/angular               7.3.9
@schematics/update                0.13.9
rxjs                              6.5.2
typescript                        3.1.3
webpack                           4.29.0


@alan-agius4
Copy link
Collaborator

Hi, support for core-js version 3+ has been added in version 8 https://github.com/angular/angular-cli/releases/tag/v8.0.0-beta.13

Also, kindly note that the current master is for version 8.1

Related issue: #13954

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants