Read the statement by Michael Teeuw here.
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 checkuname -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 ofLinux Binaries (ARM) V6unpacked and copy all of them to/usr/local/and checked it with commandnode -v&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. -
My opinion
Install ubuntu on your old computer. I have several old PC laptops running ubuntu and MM. MM runs perfectly.
https://forum.magicmirror.builders/topic/6994/mm-and-ubuntu-made-for-each-other
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login