0
0

m1 macでnodebrew installできないverがある時

Posted at

事象

m1 macでnodebrewを使用して指定のnodeのバージョンをインストールするときに、対応していないverがある場合がある。

nodebrew install v10.15.2
v10.15.2 is not found

原因

m1 mac(arm64)に対応していないnodeのバージョンのため。

解決方法

arch -x86_64を頭につけるとインストールすることが可能

arch -x86_64 nodebrew install [version]
  • archコマンドでアーキテクチャ(実行環境の設定)をx86_64に指定する
0
0
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
0
0