LoginSignup
0
0

More than 1 year has passed since last update.

M1 Mac (macOS Monterey) で Node.js のインストールに失敗するときの対処法

Posted at

解決方法

M1 Mac で従来どおりに Ruby をインストールしようとするとビルドエラーが出てしまいます。

筆者の環境では以下のコマンドを事前に実行することにより無事インストールすることができました。

Shell
arch -x86_64 zsh   # Zsh の場合
arch -x86_64 bash  # Bash の場合

tmux などを使っている場合は以下のようなメッセージが表示されるので、いったん終了してから実行してみてください。

sessions should be nested with care, unset $TMUX to force

参考サイト

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