This website uses cookies in order to provide better service to our customers. If you agree to our use of cookies, please click the "Accept" button.
For more information on our cookie policy, please see the "Terms"
logo image

nodebrew install で nodeがインストールできない。

Icon representing a data.
2022-03-11
Icon show updated_at
2022-03-11
0
Twitter icon.
mac
nodebrew
node

Precondition

  • nodebrewはHomebrewでインストールした。
  • nodebrewはインストールしたばかりの状態。

Fact

以下のコマンドでインストールを試みるとエラーが発生する。

#nodeをインストールするコマンド
nodebrew install xx.xx.xx

Error log or Error Massage

nodebrew install xx.xx.xx                                             
Fetching: https://nodejs.org/dist/v16.0.0/node-v16.0.0-darwin-arm64.tar.gz
Warning: Failed to create the file
Warning: /Users/xxxxxx/.nodebrew/src/xx.xx.xx/node-xx.xx.xx-darwin-arm64.tar.gz
Warning: : No such file or directory 0.0%curl: (23) Failure writing output to destination

download failed: https://nodejs.org/dist/xx.xx.xx/node-xx.xx.xx-darwin-arm64.tar.gz

Cause

保存先のディレクトリが作成されていないことが原因だった。

Method

以下コマンドでディレクトリを作成する。

$ mkdir ~/.node-brew
$ mkdir ~/.nodebrew/src
在宅専門のフリーランスエンジニアをしています。 得意言語はVBAです。Next.jsとTypescriptを鍛錬中。
Area to place ads.
Area to place ads.
Comments
There are no comments on this article yet.

Environment Library tools

mac
nodebrew
node
在宅専門のフリーランスエンジニアをしています。 得意言語はVBAです。Next.jsとTypescriptを鍛錬中。