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.

    Npm start issues

    Scheduled Pinned Locked Moved Hardware
    12 Posts 2 Posters 8.8k Views 1 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.
    • cruunnerrC Offline
      cruunnerr
      last edited by

      did you run npm install first? or did u use the automatic installer? Looks like there is no electron installed.
      maybe try to execute “DISPLAY=:0 nohup npm start &”

      But i need to say that i am no developer or programer or something like that. Just started to try understanding the whole stuff ^^
      So keep that i mind and before u crash something maybe u should wait for someone who got more ideas.

      for so long keep reading: https://www.google.de/search?client=safari&rls=en&q=run-start.sh:+4:+run-start.sh:+electron:+not+found&ie=UTF-8&oe=UTF-8&gfe_rd=cr&dcr=0&ei=Q9JDWuagJ6zBXqmvrKAI

      1 Reply Last reply Reply Quote 0
      • C Offline
        Coltjb45
        last edited by

        I’m just starting out too, that’s why I’m having problems. Lol

        1 Reply Last reply Reply Quote 0
        • cruunnerrC Offline
          cruunnerr
          last edited by

          hmm. which os did u use? is it a fresh install?
          I’m using stretch lite, but that needs more steps to install the MM.

          So i recommend to use a desktop version (with pixel) for the first.
          If u did, i would use this guide: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

          Or, if u would like to use a lite OS Version i would use this: https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

          Last one worked fine for me. It takes about 30-60 Minutes all in all to set up the Magic Mirror when i did it first time. Important is to read carefully and take the time u need for it ;)

          1 Reply Last reply Reply Quote 0
          • C Offline
            Coltjb45
            last edited by

            I used automatic installer. And the OS was the lite system that came with my raspberry

            1 Reply Last reply Reply Quote 0
            • C Offline
              Coltjb45
              last edited by

              I tried your first suggestion and this is what happened.

              pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 nohup npm start &
              [1] 1854
              pi@raspberrypi:~/MagicMirror $ #nohup: ignoring input and appending output to 'nohup.out

              1 Reply Last reply Reply Quote 0
              • cruunnerrC Offline
                cruunnerr
                last edited by

                that should be the reason, why u are running in trouble. With the lite version there are missing some packages, which u have to install manually.

                i would delete the MagicMirror folder with “rmdir MagicMirror” and try to set it up again with using the second link i posted above.

                Even better if u install a whole new OS on your SD-Card, 'cause i don’t know what stuff is installed there.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Coltjb45
                  last edited by

                  It said failed to remove magic mirror

                  1 Reply Last reply Reply Quote 0
                  • cruunnerrC Offline
                    cruunnerr
                    last edited by

                    try

                    rmdir /home/pi/MagicMirror
                    

                    or maybe

                    sudo rmdir /home/pi/MagicMirror
                    
                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Coltjb45
                      last edited by

                      both didn’t work

                      1 Reply 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