I’m recently updating my angular projects from angular 16 to angular 17. npm install works perfectly with angular 17 on my laptop. But on Azure pipeline, it throws an error saying “FATAL ERROR: Reached heap limit Allocation failed – JavaScript heap out of memory”. How can I solve this?
In one repo, I solved this issue by changing “npm install” as a script to “npm install” as an in-built task: Npm@1.
But it doesn’t work in another repo. I also removed package-lock.json before npm install but it didn’t help.