LoginSignup
10
0

More than 3 years have passed since last update.

Mac nodebrew installを実行した時にエラーが出た話 超簡易版

Posted at

目的

  • 問題の解決方法を簡単にまとめる。

問題までの経緯

  1. 下記コマンドを実行してNode.jsをインストールしようとした。

    $ nodebrew install v8.9.4
    

問題

  1. 下記のエラーが発生した。

    $ nodebrew install v8.9.4
    Fetching: https://nodejs.org/dist/v8.9.4/node-v8.9.4-darwin-x64.tar.gz
    Warning: Failed to create the file 
    Warning: /Users/okawashun/.nodebrew/src/v8.9.4/node-v8.9.4-darwin-x64.tar.gz: 
    Warning: No such file or directory
    
    curl: (23) Failed writing body (0 != 979)
    download failed: https://nodejs.org/dist/v8.9.4/node-v8.9.4-darwin-x64.tar.gz
    

問題解決までの経緯

  1. 下記コマンドを実行してnodebrew用のディレクトリを作成した。

    $ mkdir -p ~/.nodebrew/src
    
  2. 下記コマンドを実行して再度インストールを行ったところ問題は解決した。

    $ nodebrew install v8.9.4
    
10
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
10
0