Currently in the process of updating my angular projects
from angular 16
to angular 17
. When running npm install
, everything runs smoothly with angular 17
on my personal laptop. However, when attempting the same process on Azure pipeline, I encounter an error stating:
"FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory"
Is there a solution for this issue?
In one repository, changing "npm install"
as a script to an in-built task Npm@1
resolved this problem. Yet, in another repository, this approach did not work. Additionally, removing package-lock.json
prior to npm install
did not provide any assistance.