Angular prod build using “ng build /serve –prod”


While working on my Electron application my login functionality didn’t function anymore.

Root Cause

Updated Angular CLI and uglify also got updated.  The newest uglify version breaks builds.


Run the following to temporarily go back to a working version:

npm i [email protected] --save-exact && rm -rf package-lock.json node_modules && npm i && npm ls uglify-es


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: