Reputation: 6565
I'm using following build command in VSTS to build my angular 6 project in VSTS
ng build --prod --base-href /myproject/ --no-progress --build-optimizer=false
Builds hangs in 90% and not getting completed. The same command working fine in local machine.
Helps much appreciated.
Upvotes: 0
Views: 2375
Reputation: 6565
I have tried the following command, its working fine. Looks like memory allocation problem only
node --max_old_space_size=102400 node_modules/@angular/cli/bin/ng build --prod
Upvotes: 2