Open
Closed
ng build --prod uglifyjs errors #6365
0
amer_op created
hello all , when i use 'ng build' ----> it works fine without errors, and dist folder successfully generated but when i use 'ng build --prod' ----> it fails with the following errors :-
- ERROR in 1049.ae0c0f596171882abe3e.js from UglifyJs undefined
- ERROR in scripts.e75fa26f6e8588a20b31.js from UglifyJs undefined
please help !
10 Answer(s)
-
0
hello @ismcagdas, it's ok thank you,
for the node_modules folder , yes i have deleted it them install npm packages, but still the same error.
here is the full error ---->
ng : At line:1 char:1
- ng build --prod
-
+ CategoryInfo : NotSpecified: (:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
ERROR in 1049.81cd376bfbeee41bcebb.js from UglifyJs undefined ERROR in scripts.e75fa26f6e8588a20b31.js from UglifyJs undefined
thank you again.
Have an answer to this question?
Log in
and write your answer.
Assignee
No one