LoginSignup
1
1

More than 1 year has passed since last update.

Ineffective mark-compacts near heap limit Allocation failedエラーの解決

Posted at

npm run buildしたところ

Ineffective mark-compacts near heap limit Allocation failed

というエラーが。

その場合

export NODE_OPTIONS="--max-old-space-size=4096

を打って領域を増やすと大丈夫でした。
※4096の部分は1024とか確保できるメモリ量によって変更必要です。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1