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

Unable to install dependencies!

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 7 Posters 14.0k Views 6 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.
  • N Offline
    Nik
    last edited by Nov 28, 2016, 6:32 PM

    @gshimself -bash: npm: command not found
    @broberg Yes, will try it again now, but it didn´t work for me D:

    I 1 Reply Last reply Nov 29, 2016, 8:31 AM Reply Quote 0
    • I Offline
      indigomejor @Nik
      last edited by Nov 29, 2016, 8:31 AM

      @Nik Hi, I had almost same problem, I solved it by installing nodejs and electron first before MM
      used those links http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/ - in 3/4 of page
      and for electron I think I used this https://github.com/electron/electron-quick-start dont remember… sorry :/

      1 Reply Last reply Reply Quote 1
      • B Offline
        bhepler Module Developer
        last edited by Nov 29, 2016, 4:42 PM

        Two questions: What version of the Raspberry Pi are you running and are you using the Raspian Lite version?

        1 Reply Last reply Reply Quote 0
        • R Offline
          roramirez Core Contributors
          last edited by Nov 29, 2016, 4:54 PM

          said in Unable to install dependencies!:

          Run apt-get install nodejs (as root) to install Node.js v6.x and npm

          What say the command

          dpkg -L nodejs
          I understand the nodejs is not necesary install manually, the script do it for you.

          Try, uninstall the nodejs from the repository and run again the bash installer.

          Easy module development with MagicMirror Module Template

          1 Reply Last reply Reply Quote 0
          • V Offline
            Vladis466
            last edited by Feb 12, 2017, 10:53 PM

            Update received same error running the bash script:
            curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash

            on Raspberry pi 3.0 -B. Installed Raspbian Jesse using NOOBS.

            Ran the script again and the response told me NodeJs was installed, “Magic mirror is already installed”
            I believe this is more an unintended response of the actual bug. NodeJS was already installed correctly?

            Anyway,

            navigated into the folder MagicMirror:
            npm start -> electron not installed fail.
            npm install -> npm start

            Bingo, we are running. No need to download any packages seperately.

            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 Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy