Quantcast
Channel: Node.jsタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 8883

Nodeインストール時に困った件

$
0
0

エラー内容

v12.16.1 is not found Can not fetch: https://nodejs.org/dist/v12.16.1/node-v12.16.1-darwin-x64.tar.gz

nodebrewの安定版をインストールしようとした際に
上記のようなエラーが出た。

解決策

どうやら別の方法で再インストール。

curl -L git.io/nodebrew | perl - setup
export PATH=$HOME/.nodebrew/current/bin:$PATH

出てきたPATHをbash.profileに追加。

open ~/.bash_profile

保存して閉じ、再読み込みを行う。

source ~/.bash_profile

参考にしました:
Can not fetch: とか 言われて nodebrew で node のインストールが失敗する

以上、ありがとうございました。


Viewing all articles
Browse latest Browse all 8883

Trending Articles