npm run buildしたところ
Ineffective mark-compacts near heap limit Allocation failed
というエラーが。
その場合
export NODE_OPTIONS="--max-old-space-size=4096
を打って領域を増やすと大丈夫でした。
※4096の部分は1024とか確保できるメモリ量によって変更必要です。
Go to list of users who liked
More than 1 year has passed since last update.
npm run buildしたところ
Ineffective mark-compacts near heap limit Allocation failed
というエラーが。
その場合
export NODE_OPTIONS="--max-old-space-size=4096
を打って領域を増やすと大丈夫でした。
※4096の部分は1024とか確保できるメモリ量によって変更必要です。
Register as a new user and use Qiita more conveniently
Go to list of users who liked