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

Installing MM2

Scheduled Pinned Locked Moved Troubleshooting
20 Posts 6 Posters 18.2k Views 5 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
    Neokamikaze
    last edited by Jun 29, 2016, 11:41 AM

    Hi,

    I found my problem. I need start “npm start” directly on my session “pi”.

    Thanks all

    1 Reply Last reply Reply Quote 0
    • B Offline
      Bu52 @Bangee
      last edited by Jul 17, 2016, 7:51 PM

      @Bangee
      first, I’m rather new to the RPi.
      Second, I’m having issues installing MM2.

      1. started with a 32G sd and installed Raspian.
      2. then did sudo apt-get update, followed by sudo apt-get upgrade.
      3. cd /home/pi.
      4. Then curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
      5. All went well, except the last lines, which were:
        Cloning MagicMirror Done!
        Installing dependencies …
        bash: line 108: npm: command not found
        Unable to install dependencies!
      6. the cd ~/MagicMirror followed by npm start
        I get the following error message, “bash: npm: command not found”.
        What am I doing wrong, please.
      1 Reply Last reply Reply Quote 0
      • K Offline
        KirAsh4 Moderator
        last edited by Jul 17, 2016, 11:44 PM

        Missing some info here: Which Raspberry Pi? Which version of Rasbian? Have you tried following the complete installation guide, from unboxing to having MM² up and running?

        A Life? Cool! Where can I download one of those from?

        B 1 Reply Last reply Jul 18, 2016, 2:05 AM Reply Quote 0
        • B Offline
          Bu52 @KirAsh4
          last edited by Jul 18, 2016, 2:05 AM

          @KirAsh4 It is a RPi 3. Raspian is version 1.9.2. I did it all with one exception. I used Noobs to install Raspian instead of installing Raspian directly to my SD Card. All else is the same.

          I will try it again without using Noobs.

          1 Reply Last reply Reply Quote 0
          • K Offline
            KirAsh4 Moderator
            last edited by Jul 18, 2016, 2:07 AM

            The NOOBS installation isn’t a complete version of Jessie, unfortunately. It’s a slightly “lighter” version to fit on the card with the other OS versions.

            A Life? Cool! Where can I download one of those from?

            B 2 Replies Last reply Jul 18, 2016, 4:44 PM Reply Quote 0
            • B Offline
              Bu52 @KirAsh4
              last edited by Jul 18, 2016, 4:44 PM

              @KirAsh4 Thank-you. I think I’m making good progress because it is getting past the dependancies. However, when I start ‘npm start’ I get about a list of error lines. If I can figure out how to upload files, I will send a text file of the error responses and the npm-debug.log file.
              1_1468859943952_npm-debug.log 0_1468859943950_err.txt

              1 Reply Last reply Reply Quote 0
              • B Offline
                Bu52 @KirAsh4
                last edited by Jul 18, 2016, 7:26 PM

                Hi @KirAsh4 ,
                I found the problem. Well, I didn’t. It was under Neokamikaze’s post. I had been using PuTTY in the installation because it made it easier and more accurate to cut and paste directions. The errors were during that PuTTY session. When I key in “npm start” from a command windows directly on the RPi 3, it comes up with the proper screen.

                I still have some additional issues, but IT RUNS!! thank-you for your help. I proved I couldn’t have done it myself.

                And thank-you, too, Neokamikaze.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  KirAsh4 Moderator
                  last edited by Jul 18, 2016, 8:01 PM

                  Right. If you had followed the guide, you would’ve noticed that nowhere does it talk about using a client to connect and perform the various commands. You need to access it with a keyboard attached anyway to do the initial configuration before you can connect remotely, so rather than introduce another variable (having someone install something else), I opted not to do that.

                  That said, I’ll make a note in the guide. When connecting remotely, you must run the command as:

                  $ DISPLAY=:0 npm start
                  

                  A Life? Cool! Where can I download one of those from?

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