-
Notifications
You must be signed in to change notification settings - Fork 12k
Build got failed while using 'ng build ---aot' #14717
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
At first it thought it was caused by Build Optimizer based on the above screenshots but it seems that it also fails when not using Build Optimizer. |
Hi @alan-agius4 , While using Below three commands build-optimizer must be used
|
|
This comment has been minimized.
This comment has been minimized.
The same issue persists in the latest release also
|
Hi @alan-agius4 , Reported issue got resolved in latest release version 8.2.0 |
HI @alan-agius4 Still I am facing same issue, can you please re-consider this issue. Thanks. |
Looks like duplicate of #15392. Please provide minimal demo so we can reproduce the 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
Command (mark with an
x
)Is this a regression?
NO
Description
I have set "target": "es6", when i try to serve my application using below command
It throws below error:
If i change target to "es2015" and try to run using below commands
it throws a same error:
Working fine
When using "ng serve" with target es2015 and es6
And all commands are working fine with target as es5
🔬 Minimal Reproduction
Download sample
angularIssue.zip
Run "npm i"
The give anyone command from below list:
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: