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

$ nodebrew install-binary stableができないとき

$
0
0
メモです。 $ nodebrew install-binary stable node.jsを入れたくてnodebrewをインストールしようとしていますが、エラーが出てしまった。 エラーは以下。 $ nodebrew install-binary stable Fetching: https://nodejs.org/dist/v16.2.0/node-v16.2.0-darwin-x64.tar.gz Warning: Failed to create the file Warning: /Users/masahito/.nodebrew/src/v16.2.0/node-v16.2.0-darwin-x64.tar.gz: Warning: No such file or directory curl: (23) Failure writing output to destination download failed: https://nodejs.org/dist/v16.2.0/node-v16.2.0-darwin-x64.tar.gz このようなエラーが出たので下記のコマンドを実行。 $ curl -L git.io/nodebrew | perl - setup % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 24696 100 24696 0 0 10893 0 0:00:02 0:00:02 --:--:-- 10893 Fetching nodebrew... Installed nodebrew in $HOME/.nodebrew ======================================== Export a path to nodebrew: export PATH=$HOME/.nodebrew/current/bin:$PATH ======================================== 以下のコマンドで、~/.bash_profileに適用。 $ echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bash_profile $ source ~/.bash_profile このあともう一度最初のコマンドを実行してみる。 $ nodebrew install-binary stable Fetching: https://nodejs.org/dist/v16.2.0/node-v16.2.0-darwin-x64.tar.gz ######################################################################### 100.0% Installed successfully こんな感じ。ダウンロードできたっぽい。

Viewing all articles
Browse latest Browse all 9099

Latest Images

Trending Articles