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 3.6k 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 Offline
      fredo55 @Mykle1
      last edited by

      @Mykle1 Thanks, but …npm command not found

      1 Reply Last reply Reply Quote 0
      • S Offline
        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 Offline
          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

          bheplerB 1 Reply Last reply Reply Quote 0
          • F Offline
            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 Offline
              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
              • bheplerB Offline
                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 Offline
                  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 Offline
                    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 Offline
                      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 Offline
                        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
                        • 1
                        • 2
                        • 1 / 2
                        • 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