Js heap out of memory on running angular project

WBOY
Release: 2024-08-26 21:33:11
Original
182 people have browsed it

Js heap out of memory on running angular project

Initially my angular project was in the version 10. i had successfully upgraded to v12 by referring the angular upgrade guide . I also upgraded the node version and typescript version respectively. I had upgraded the version to V13 by running these commands

1.npm install --save-dev @angular/cli@13
2.ng update @angular/core@13 --force @angular/cli@13
3.npm install typescript@4.4.4
4.npm install @angular-devkit/build-angular@13.0.4
5.npm cache clean --force
6.npm install
7.ng serve

And iam gettin this error 'Error [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory' on ng serve.How to resolve this issue

The above is the detailed content of Js heap out of memory on running angular project. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!