Seshu Vuggina
Seshu Vuggina

Reputation: 823

Angular 12 Build Issue - FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Getting below build error after angular upgrade to 12.

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

enter image description here

I have increased the --max_old_space_size to 8192 but still getting the same issue while building

Upvotes: 0

Views: 238

Answers (1)

Sameh
Sameh

Reputation: 1418

It is related to the Node Sass version, when you upgrade angular you need to upgrade the Node Js as well which eventually requires to upgrade Node Sass package one that is used

You can find the proper mapping following this link https://www.npmjs.com/package/node-sass

Upvotes: 0

Related Questions