• 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.

Error Installing Dependencies Permission Denied

Scheduled Pinned Locked Moved Unsolved Troubleshooting
8 Posts 4 Posters 2.8k 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.
  • B Offline
    BuckGup
    last edited by BuckGup May 19, 2018, 11:31 PM May 19, 2018, 11:29 PM

    I am getting an error after I run the script to install magic mirror. It gets hung up on installing dependencies with npm. It says permission denied. I have already tried adding sudo in front of the command but that didn’t help. Here’s a picture

    https://imgur.com/ezQwMVR

    J 1 Reply Last reply May 20, 2018, 12:55 AM Reply Quote 0
    • J Offline
      justjim1220 Module Developer @BuckGup
      last edited by May 20, 2018, 12:55 AM

      @BuckGup

      Things to try…

      reboot the computer.

      make sure you are signed into github, & into the computer.

      make sure you are connected to the internet.

      delete and reinstall MagicMirror

      use git bash, and install npm install

      might help to copy and paste your error log on here also…

      "Life's Too Short To Dance With Ugly People"
      Jim Hallock - 1995

      B 1 Reply Last reply May 20, 2018, 1:05 AM Reply Quote 0
      • B Offline
        BuckGup @justjim1220
        last edited by May 20, 2018, 1:05 AM

        @justjim1220
        I have rebooted, swapped to ethernet, and reinstalled. But I haven’t signed into github. Do you really need to sign in to clone something? If so how do you sign in through the CLI?

        J 1 Reply Last reply May 20, 2018, 1:11 AM Reply Quote 0
        • J Offline
          justjim1220 Module Developer @BuckGup
          last edited by May 20, 2018, 1:11 AM

          @buckgup

          I really don’t know, was just a suggestion…

          not quite understanding why its telling you permission denied…

          what command did you use?

          git clone https://github.com/MichMich/MagicMirror.git

          then… npm install ?

          "Life's Too Short To Dance With Ugly People"
          Jim Hallock - 1995

          B 1 Reply Last reply May 20, 2018, 1:54 PM Reply Quote 0
          • B Offline
            BuckGup @justjim1220
            last edited by May 20, 2018, 1:54 PM

            @justjim1220 Yes this is what I have done. Do I need to be root to install? I am using sudo so it should anyways

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by May 20, 2018, 2:11 PM

              you can’t install in Desktop… its protected…

              use your home folder… then make a shortcut to start the mirror

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply May 20, 2018, 5:04 PM Reply Quote 1
              • B Offline
                BuckGup @sdetweil
                last edited by May 20, 2018, 5:04 PM

                @sdetweil Alright thank you. Will try this. By default does it install to desktop or is it because I ran it when I was on the desktop?

                B 1 Reply Last reply May 21, 2018, 2:32 PM Reply Quote 0
                • B Offline
                  bhepler Module Developer @BuckGup
                  last edited by May 21, 2018, 2:32 PM

                  @buckgup It installed into desktop because that’s the folder you were in when you ran the git command. So:

                  cd /home/pug
                  git clone https://github.com/MichMich/MagicMirror.git
                  cd MagicMirror
                  npm install
                  
                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    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