-
Notifications
You must be signed in to change notification settings - Fork 12k
1.3.0-rc.1 ng build --prod fails on a project that builds fine with 1.2.5. #7161
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
Comments
This is an ongoing known issue. Issue discussion here: 7136 |
But it builds ok in 1.2.5 (was 1.2.4). It only breaks after upgrading to 1.3.0-rc.1 I'll test it via npm instead, and close this issue if it does look to be the same. The output sure suggests it. |
Confirmed, building the 1.3.0-rc.1 generated app with npm instead of yarn works. Thanks @heypaulmcgrath Closing. |
No problem :) |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
Output from:
ng --version
1.3.0-rc.1node: v8.2.1 npm: 5.3.0 yarn: 0.27.5
macOS Sierra
Repro steps.
After upgrading to 1.3.0-rc.1 to try it out the build of the app fails.
First build with 1.2.5 works fine.
ng build --prod
Upgrade cli.
yarn upgrade @angular/[email protected]
Build again.
ng build --prod
Fails to build. Interestingly if I now roll back to 1.2.5 the failure persists.
yarn upgrade @angular/cli@latest
ng build --prod
Only changes are to package.json and yarn.lock that I'd expect. So I don't quite understand why the error now persists.
Just tested in a clean project.
ng new test-app
Then in that app run
ng build --prod
The text was updated successfully, but these errors were encountered: