Skip to content

Instantly share code, notes, and snippets.

@bamossza
Last active March 13, 2017 05:00
Show Gist options
  • Save bamossza/b9d87280bc29a75f089edbeac620b996 to your computer and use it in GitHub Desktop.
Save bamossza/b9d87280bc29a75f089edbeac620b996 to your computer and use it in GitHub Desktop.
Angular-cli - Invalid left-hand side expression in postfix operation
"Bug for UglifyJS2"
I solved it
Solution for me.
Install nodejs Last version (Download website: https://nodejs.org )
(Global package)
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli@latest
(Local project package)
npm uninstall --save-dev angular-cli
npm install --save-dev @angular/cli@latest
npm install
Create project angular-cli
ng new project-name
ng serve
ng build -prod
Check In Folder /project/dist/....deployment to hosting....
Works for me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment