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.

    Failed to install dependencies RPI3 B+

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    15 Posts 4 Posters 5.5k 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.
    • F
      fredo55
      last edited by

      After flashing my rpi3 B+ with 2018-11-13-raspbian-stretch-full and proceded to run the one-line bash to install MagicMirror2, I got a message of failed to install dependencies. Please help how to uninstall or repair installation. Thanks.

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

        @fredo55

        First thing I would try is changing directories into your MagicMirror folder. Open your terminal and enter the following:

        cd MagicMirror

        then

        npm install

        That may be all you need

        Create a working config
        How to add modules

        F 1 Reply Last reply
        Reply Quote 0
        • F
          fredo55 @Mykle1
          last edited by

          @Mykle1 Thanks, but …npm command not found

          1 Reply Last reply
          Reply Quote 0
          • S
            sdetweil
            last edited by sdetweil

            Yes, npm isn’t in the base stretch install.

            Run

            sudo apt-get install npm
            

            Then do the npm install from the mm folder

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            Mykle1M F 2 Replies Last reply
            Reply Quote 0
            • Mykle1M
              Mykle1 Project Sponsor Module Developer @sdetweil
              last edited by

              Ahh, I assumed that node and npm were already installed. My bad

              Create a working config
              How to add modules

              B 1 Reply Last reply
              Reply Quote 0
              • F
                fredo55 @sdetweil
                last edited by

                @sdetweil said in Failed to install dependencies RPI3 B+:

                Yes, npm isn’t in the base stretch install.

                Run

                sudo apt-get install npm
                

                Then do the npm install from the mm folder

                npm is installed now , could you elaborate on “then do the npm install from the mm folder”

                Mykle1M S 2 Replies Last reply
                Reply Quote 0
                • Mykle1M
                  Mykle1 Project Sponsor Module Developer @fredo55
                  last edited by

                  @fredo55

                  Open a terminal window.

                  Change directory by typing cd MagicMirror and enter.

                  Then type npm install and enter.

                  Create a working config
                  How to add modules

                  1 Reply Last reply
                  Reply Quote 2
                  • B
                    bhepler Module Developer @Mykle1
                    last edited by

                    @Mykle1 - They were included in previous Raspbian distributions. Ever since about December or so, the installation script hasn’t been working.

                    1 Reply Last reply
                    Reply Quote 1
                    • S
                      sdetweil @fredo55
                      last edited by

                      @fredo55 said in Failed to install dependencies RPI3 B+:

                      from the mm folder”

                      mm is short for MagicMirror. Too long to type over and over!

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply
                      Reply Quote 0
                      • F
                        fredo55
                        last edited by

                        Thank you guys, I’ll start from scratch, something else went wrong pm2 giving me a bunch of errors.

                        S F 2 Replies Last reply
                        Reply Quote 0
                        • S
                          sdetweil @fredo55
                          last edited by

                          @fredo55 if from scratch, make sure to install npm before the MM install

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          F 1 Reply Last reply
                          Reply Quote 1
                          • F
                            fredo55 @sdetweil
                            last edited by

                            @sdetweil said in Failed to install dependencies RPI3 B+:

                            @fredo55 if from scratch, make sure to install npm before the MM install

                            Thank you, that’s what I did and everything is working now

                            S 2 Replies Last reply
                            Reply Quote 0
                            • S
                              sdetweil @fredo55
                              last edited by

                              @fredo55 great! Good work!

                              Thanks for the feedback

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply
                              Reply Quote 0
                              • S
                                sdetweil @fredo55
                                last edited by

                                @fredo55 could u mark your issues solved… thx

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply
                                Reply Quote 0
                                • F
                                  fredo55 @fredo55
                                  last edited by

                                  @fredo55 also this post by jstewart-amd is very helpful

                                  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