以下の内容はhttps://yohei-a.hatenablog.jp/entry/20201229/1609218731より取得しました。


macOS に nodebrew で node.js をインストールしようとすると "Failed to create the file"、"No such file or directory"

事象

  • macOS Mojave (10.14.6) に nodebrew で node.js をインストールしようとすると、 "Failed to create the file"、"No such file or directory" という Warning とともに失敗する。
$ nodebrew install-binary latest
Fetching: https://nodejs.org/dist/v15.5.0/node-v15.5.0-darwin-x64.tar.gz
Warning: Failed to create the file
Warning: /usr/local/var/nodebrew/src/v15.5.0/node-v15.5.0-darwin-x64.tar.gz:
Warning: No such file or directory

curl: (23) Failed writing body (0 != 979)
download failed: https://nodejs.org/dist/v15.5.0/node-v15.5.0-darwin-x64.tar.gz

解決策

  • /usr/local/var/nodebrew/src を作成すると
$ mkdir -p  /usr/local/var/nodebrew/src
  • 解決した
$ nodebrew install-binary latest
Fetching: https://nodejs.org/dist/v15.5.0/node-v15.5.0-darwin-x64.tar.gz
######################################################################## 100.0%
Installed successfully



以上の内容はhttps://yohei-a.hatenablog.jp/entry/20201229/1609218731より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14