• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Stuck at Unable to install dependencies!

Scheduled Pinned Locked Moved Solved Troubleshooting
13 Posts 4 Posters 5.0k Views 4 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.
  • D Offline
    DæmonEyes
    last edited by Jan 28, 2019, 4:19 AM

    So this is my first time working with a R Pi, or even any programming really. I got the Raspberry Pi 3 B+ and a 32gb micro sd card so I could finally build a smart mirror.
    I’ve been following the EASY SMART MIRROR SETUP video by Grensom on Youtube.

    But when I try to install Magic Mirror, it gets stuck at this line.
    alt text

    Any help would be very much appreciated. Also as I mentioned, I really have little clue what I’m doing so please talk to me like I’m an idiot who called up technical support haha.

    TIA

    1 Reply Last reply Reply Quote 0
    • D Offline
      DæmonEyes
      last edited by yawns Jan 28, 2019, 3:44 PM Jan 28, 2019, 4:29 AM

      Here is a pic of the terminal screen

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer
        last edited by Jan 28, 2019, 1:05 PM

        How are you installing? Manually? Using the install script?

        D 1 Reply Last reply Jan 28, 2019, 1:41 PM Reply Quote 0
        • D Offline
          DæmonEyes @cowboysdude
          last edited by Jan 28, 2019, 1:41 PM

          @cowboysdude Well on a fresh rasbian stretch R Pi 3 B+, I typed this in the terminal:
          curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash

          And then it runs that install until the line
          “unable to install dependencies!”

          Hmmm I’m not sure if you can see the pic I uploaded in my post (it’s not showing up when i look at my post), but it right click in the blank spot on my original post, below the word ‘But’ and above the word ‘Any’ you can open the image in a new tab to see everything I did and where I get stuck

          S 1 Reply Last reply Jan 28, 2019, 2:13 PM Reply Quote 0
          • D Offline
            DæmonEyes
            last edited by yawns Jan 28, 2019, 3:43 PM Jan 28, 2019, 1:44 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @DæmonEyes
              last edited by Jan 28, 2019, 2:13 PM

              @dæmoneyes said in Stuck at Unable to install dependencies!:

              fresh rasbian stretch

              yes, stretch doesn’t install npm or node, which are required…

              follow this
              https://linuxhint.com/install_npm_debian/

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Jan 28, 2019, 4:02 PM Reply Quote 1
              • D Offline
                DæmonEyes @sdetweil
                last edited by Jan 28, 2019, 4:02 PM

                @sdetweil Thanks! I’ve installed nodejs and npm according to that.
                Now do I try installing MagicMirror with that curl script again?

                S 1 Reply Last reply Jan 28, 2019, 4:06 PM Reply Quote 0
                • S Offline
                  sdetweil @DæmonEyes
                  last edited by Jan 28, 2019, 4:06 PM

                  @dæmoneyes yes… best to erase the MM folder and start again

                  cd ~
                  rm -rf MagicMirror
                  

                  then run the install script again

                  what versions of node and npm were installed

                  node -v
                  

                  and

                  npm -v
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Jan 28, 2019, 4:08 PM Reply Quote 1
                  • D Offline
                    DæmonEyes @sdetweil
                    last edited by Jan 28, 2019, 4:08 PM

                    @sdetweil node v8.15.0
                    npm v6.4.1

                    Ok going to try to erase MM with your script now! Thank you so much for your help!

                    S 1 Reply Last reply Jan 28, 2019, 4:12 PM Reply Quote 0
                    • S Offline
                      sdetweil @DæmonEyes
                      last edited by Jan 28, 2019, 4:12 PM

                      @dæmoneyes looks good (node/npm)… let us know how it goes

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Jan 28, 2019, 4:20 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/13
                        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