Angular 8 error: '"node --max-old-space-size=10240"' is not recognized as an internal or external command

Viewed 10553
2 Answers

Finally, I deleted the existing node module folder from my project and run the below commands:

npm install -all
npm audit fix

If anyone else is still having this issue: the solution for me was to run a script via node once, which converts all "%prog%" into %prog% in each cmd file in node-modules like this one

Related