Fresh download of 6.4 and when I attempt to publish the Host solution (which is a merged solution with Angular) I get the error:
The command "ng build --prod" exited with code 9009.
I have read online about it being related to a memory issue but I have tried increasing the memory. Anyone else have this problem and know how to solve?
6 Answer(s)
-
0
Hi, did this happen on your machine for versions before 6.4.0?
-
0
yes, as it turns out the same thing happens with 6.3.1 however it didnt happen with 6.2.x
-
0
I am facing the below issue which might be the same :
https://support.aspnetzero.com/QA/Questions/6138
-
0
I have already tried increasing the memory using that method. It did not solve my problem. Oddly enough, when I run ng build --prod from the command line I do not get any failures, it's only when I try to publish from within Visual
-
0
Hi @brallierc
As a temporary solution, you can edit *.Host.csproj and remove "ng build --prod" command and publish angular app using the command line.
We have switched to this approach as well and we will remove ng build --prod command from *.Host.csproj for the next releases.
-
1
Thank you for that information. I did also find that my problem disappeared after I updated the angular CLI
npm install -g @angular/cli