Open n-arakawa opened 2 years ago
I have the same issue
[opc@free-vm-1 ~]$ /home/opc/.nodebrew/current/bin/node
bash: /home/opc/.nodebrew/current/bin/node: No such file or directory
The architecture
[opc@free-vm-1 ~]$ uname -a
Linux free-vm-1 5.4.17-2136.306.1.3.el8uek.aarch64 #2 SMP Fri Apr 8 15:23:05 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
It is trying to download wrong binary I think
[opc@free-vm-1 ~]$ nodebrew install v17.9.0
Fetching: https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-armv7l.tar.gz
############### 10.1%^Cdownload failed: https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-armv7l.tar.g
I had similar issue for an inspired library here: https://github.com/kevincobain2000/gobrew/commit/995d62ad235388a30d123c77c580236053a7e586
The above solution mentioned by @n-arakawa is correct.
Some arm based OS such as Raspbbery OS 64bit and AWS instance type "t4g" report 'aarch64' for "uname -m".
Hope to add
to sub system_info