Angular production build stuck after 2.2.1 release
See original GitHub issueI have an Angular project where I use messageformat
(along with ngx-translate-messageformat-compiler
) for localization. I just upgraded to 2.2.1 version today and realized that the production build is getting stuck when handling messageformat.js
:
49% building 328/330 modules 2 active ..._modules/messageformat/messageformat.js
After reaching that point, it never ends.
I suspect it comes from this change. When I manually change the browser
value from messageformat.js
to index.js
, it works flawlessly.
It also works when disabling AOT optimization. I’m not quite sure then who’s “fault” is it, but I thought maybe you would have some insights about this.
Cheers!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Angular 8: ng build production stuck at 11% and system hangs ...
I am using Angular 8 and trying to create production build. ... "headersUrl": "https://nodejs.org/download/release/v12.14.1/node-v12.14.1- ...
Read more >Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >Compatibility with Angular 9 - EJ 2 Forums - Syncfusion
We have provided Angular 9 support to all our Syncfusion EJ2 components and it is available in our latest patch release version 17.4.0.51....
Read more >react-app-rewired - npm
Tweak the create-react-app webpack config(s) without using 'eject' and without creating a fork of the react-scripts. Latest version: 2.2.1, ...
Read more >Angular 8 + Spring Boot 2.2: Build a CRUD App Today!
See Spring Boot 2.2 Release Notes for more information. If you're stuck on older versions of these frameworks, you might want to check...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
With the release of Angular 8.2.0, the default TypeScript compiler version is now 3.5+. As stated in issue angular/angular-cli#14505, this new version of TypeScript indeed fixes the issue.
I’ve no problem anymore when building my project with
messageformat@2.3.0
.Closing as fixed upstream.