question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular production build stuck after 2.2.1 release

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
frankie567commented, Aug 2, 2019

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.

0reactions
eemelicommented, Aug 2, 2019

Closing as fixed upstream.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found