MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Npm not working

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 1.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mrhieu059
      last edited by mrhieu059

      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 -a and 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) V6 unpacked and copy all of them to /usr/local/ and checked it with command node -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.

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @mrhieu059
        last edited by Mykle1

        @mrhieu059

        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

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • lavolp3L Offline
          lavolp3 Module Developer
          last edited by

          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.

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          1 Reply Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer
            last edited by

            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

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @lavolp3
              last edited by

              @lavolp3

              I don’t use VM. My machines are wiped clean and only ubuntu 16.04LTS is installed prior to MM

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0

              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
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy