Npm not working
Before I decide to buy a Raspberry pi I want to preview it on my old computer.
I installed Raspberry pi (desktop version from homepage of Raspberry).
Everything was fine, When I install nodejs from apt source package, it doesn’t have alias (syntax for npm). Then I followed others topic, they said check
uname -aand go to nodejs homepage to download a compatible version.
Here is my
$uname -a Linux raspberry 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
Then I go to node homepage and download a version of
Linux Binaries (ARM) V6unpacked and copy all of them to
/usr/local/and checked it with command
npm -v. I got this error messages
/lib/ld-linux-armhf.so.3: No such file or directory.
I thought that was my computer is not compatible but when I tried it on virtualbox I still got same problem.
I need your help. Thanks.
Install ubuntu on your old computer. I have several old PC laptops running ubuntu and MM. MM runs perfectly.
Well as far as I can see you installed/copied the ARM version of nodejs on a amd64 system.
I guess that does not work.
I’d rather try the Linux x64 binaries.
However, I have the strong feeling that the ~30€ for a Pi 3b might be well invested to save from further trouble.
Or you use ubuntu in a VM as @Mykle1 suggested
I don’t use VM. My machines are wiped clean and only ubuntu 16.04LTS is installed prior to MM