spartarn-07
spartarn-07

Reputation: 1

npm ERR! ENOMEM: not enough memory, read

While running any angular commands i am getting this error > npm ERR! ENOMEM: not enough memory, read

any fix for this??

refer image

Upvotes: 0

Views: 17241

Answers (2)

Kiruthika kanagarajan
Kiruthika kanagarajan

Reputation: 954

export NODE_OPTIONS=--max-old-space-size=8192

Upvotes: 2

Zoubeir
Zoubeir

Reputation: 109

You will need to adjust the max memory ceiling in your node builds to avoid this issue. Look to the following support article describes how to accomplish this :

https://support.circleci.com/hc/en-us/articles/360009208393-How-can-I-increase-the-max-memory-for-Node-

Upvotes: -1

Related Questions