MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Unable to Install on RPi 3 b - unable to install dependencies

    Bug Hunt
    4
    6
    1444
    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.
    • V
      valid8r last edited by

      I am running a new RPi, the latest Raspian Stretch w/ Desktop. I get through to the point of installing dependencies and get a long list of errors. I have googled the heck out of this and the problem appears to have been reported before and related to npm.

      Any help appreciated and happy to provide more details if needed.

      bhepler 1 Reply Last reply Reply Quote 0
      • bhepler
        bhepler Module Developer @valid8r last edited by

        @valid8r - My suggestion is to install the latest version of node separately and then run the installation script. Try npm install npm@latest -g to install the latest version of the Node Package Manager (npm).

        Once that completes, try the MagicMirror installations script again and let us know what happens.

        cd ~
        bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
        
        V DæmonEyes 2 Replies Last reply Reply Quote 1
        • V
          valid8r @bhepler last edited by

          @bhepler Thanks! That worked.

          1 Reply Last reply Reply Quote 0
          • DæmonEyes
            DæmonEyes @bhepler last edited by

            @bhepler Hi so this is my first time working with a Raspberry Pi (and I have no programming experience) and I followed the instructions by Grensom on his youtube video, but I got the same issue: “unable to install dependencies!”

            I tried ‘npm install npm@latest -g’ in the terminal, but all I got back was:
            ‘bash: npm: command not found’

            Any suggestions? (once again, please instruct me like a clueless person calling technical support haha)

            TIA

            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @DæmonEyes last edited by

              @dæmoneyes Google how to install npm

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • DæmonEyes
                DæmonEyes last edited by

                In case you didn’t find a solution yet, a user by the name sdetweil just helped me with a similar problem with my RPi 3 B+ running the latest Rasbian Stretch.

                Here is the link to that discussion for everyone else who is stuck at this step too:
                https://forum.magicmirror.builders/topic/9636/stuck-at-unable-to-install-dependencies/8?page=1

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy