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

nodebrewで入れたnodeが存在するのにno such file or directoryになる問題

$
0
0

【注意】これを読んでも解決しません

環境

  • Raspberry Pi 4
  • Ubuntu Mate 64bit
  • nodebrew 1.0.1
    • node v12.18.3

症状

nodeコマンドが実行できない

$ node -v-bash: /home/user/.nodebrew/current/bin/node: No such file or directory
$ ls-la /home/user/.nodebrew/current/bin/node
-rwxr-xr-x 1 user user 40769188  7月 31 14:06 /home/user/.nodebrew/current/bin/node

あるじゃないか!!!

…存在するファイルの no such file or directory は、どうやら32bitに対応していない64bit OSで32bitのバイナリを実行しようとしたときに出るらしい?

諦め

たぶん
Can we update the $arch for aarch64 to have capability to choose arm64?
このissueが原因なのですが、PRも放置されマージされそうにないので、諦めて他の方法で入れようと思います


Viewing all articles
Browse latest Browse all 9030

Trending Articles