node.jsのバージョン15にあげれば解決するらしいけど、どうしてもNode.jsのバージョン12で作業する必要があったので、その時のメモ。
vi ~/.zshrc
で下記を記入して、
export NODE_OPTIONS=--max_old_space_size=4096
あとは更新。
source ~/.zshrc
これで一応、エラーは回避できた。
これが良き方法かはわからないけど、とりあえずまぁ、このまま作業しようっと。笑
Go to list of users who liked
More than 3 years have passed since last update.
node.jsのバージョン15にあげれば解決するらしいけど、どうしてもNode.jsのバージョン12で作業する必要があったので、その時のメモ。
vi ~/.zshrc
で下記を記入して、
export NODE_OPTIONS=--max_old_space_size=4096
あとは更新。
source ~/.zshrc
これで一応、エラーは回避できた。
これが良き方法かはわからないけど、とりあえずまぁ、このまま作業しようっと。笑
Register as a new user and use Qiita more conveniently
Go to list of users who liked