Angular 4.3 I get the following error when trying to ng build --prod
94% asset optimization(node:7184) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token: name (i)
I have no idea where this issue stems from as thats the only error I can find.
Revert the angular CLI version 1.3.2 until this bug gets fixed:
npm install @angular/[email protected]
(add -g
if you are using a global package)
You should be able to build now :).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With