-
Notifications
You must be signed in to change notification settings - Fork 12k
Production build stuck at 92% percentage #11783
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
Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via |
It actually is not stuck but just takes a long time ~30 minutes On the local machine it builds fine - in a couple of minutes. After more digging - issue is present when using yarn for dependency instalation. |
After another round of experiments: increasing node memory limit fixed this issue for me |
We started getting the same problem with 6.1.3. All Travis jobs are down even with node 8. |
I have wait 1 hours still it was stuck on 92%. +1 Thanks @janisr . It worked for me
|
Build successful: #7110 (comment). Just Upgrade TypeScript. It worked for me. |
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. |
I'm submitting a...
Current behavior
Source: angular/angular#25286
$ ng build --prod --aot=false
Your global Angular CLI version (6.0.8) is greater than your local
version (1.5.4). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Date: 2018-08-03T14:20:26.925Z
Hash: 7ef0dc48f58f3c6be114
Time: 81775ms
chunk {0} polyfills.e8c106aae21b5a2364e7.bundle.js (polyfills) 96.2 kB [initial] [rendered]
chunk {1} main.2bfa46edcefe41d2d2ed.bundle.js (main) 1.44 MB [initial] [rendered]
chunk {2} styles.59fd733508abc03f82fb.bundle.css (styles) 370 kB [initial] [rendered]
chunk {3} vendor.abc0af0257250c054d0b.bundle.js (vendor) 4.44 MB [initial] [rendered]
chunk {4} inline.6e1478b27af86e1ddf44.bundle.js (inline) 1.45 kB [entry] [rendered]
$ ng build --prod
Your global Angular CLI version (6.0.8) is greater than your local
version (1.5.4). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
92% chunk asset optimization
Production build with aot It is taking too much time. I have wait for 15 minutes. Still not completed. It was stuck at 92%. Please help me out. Should I deploy build on server with --aot=false parameter.
Environment
The text was updated successfully, but these errors were encountered: