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

MagicMirror fails to start

Scheduled Pinned Locked Moved Unsolved Troubleshooting
12 Posts 2 Posters 2.0k Views 2 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
    droidus
    last edited by Sep 18, 2021, 11:32 PM

    I am getting these messages:

     npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2021-09-18T23_30_42_400Z-debug.log
    Invalid MIT-MAGIC-COOKIE-1 key/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! magicmirror@2.16.0 start: `./run-start.sh $1`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the magicmirror@2.16.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2021-09-18T23_30_59_634Z-debug.log
    Invalid MIT-MAGIC-COOKIE-1 key/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! magicmirror@2.16.0 start: `./run-start.sh $1`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the magicmirror@2.16.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    
    
    S 1 Reply Last reply Sep 19, 2021, 12:25 AM Reply Quote 0
    • S Offline
      sdetweil @droidus
      last edited by Sep 19, 2021, 12:25 AM

      @droidus good one, never seen that before.

      tell me more, what pi, how did u install the os, and MagicMirror…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        droidus
        last edited by Sep 19, 2021, 11:55 AM

        I installed the raspbian OS via copying files to the sd card. Here is the board version: Pi Model 4B V1.1. I installed the program via these instructions: https://docs.magicmirror.builders/getting-started/installation.html#manual-installation.

        S 1 Reply Last reply Sep 19, 2021, 12:19 PM Reply Quote 0
        • S Offline
          sdetweil @droidus
          last edited by Sep 19, 2021, 12:19 PM

          @droidus and the os is the full version w desktop, right?

          rename the MagicMirror folder to some other name, and use my install script

          see https://github.com/sdetweil/MagicMirror_scripts

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Sep 19, 2021, 4:47 PM Reply Quote 0
          • D Offline
            droidus @sdetweil
            last edited by Sep 19, 2021, 4:47 PM

            @sdetweil OK, I installed it. What web port does it use?

            S 1 Reply Last reply Sep 19, 2021, 4:50 PM Reply Quote 0
            • S Offline
              sdetweil @droidus
              last edited by Sep 19, 2021, 4:50 PM

              @droidus what port does what use? mm is on port 8080, but you shouldn’t need that

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Sep 19, 2021, 5:00 PM Reply Quote 0
              • D Offline
                droidus @sdetweil
                last edited by droidus Sep 19, 2021, 5:24 PM Sep 19, 2021, 5:00 PM

                Still getting an error message:

                npm run start
                
                > magicmirror@2.16.0 start /home/pi/MagicMirror
                > ./run-start.sh $1
                
                [19.09.2021 13:23.34.576] [LOG]   Starting MagicMirror: v2.16.0
                [19.09.2021 13:23.34.584] [LOG]   Loading config ...
                [19.09.2021 13:23.34.595] [LOG]   Loading module helpers ...
                [19.09.2021 13:23.34.602] [LOG]   No helper found for module: alert.
                [19.09.2021 13:23.34.803] [LOG]   Initializing new module helper ...
                [19.09.2021 13:23.34.805] [LOG]   Module helper loaded: updatenotification
                [19.09.2021 13:23.34.807] [LOG]   No helper found for module: clock.
                [19.09.2021 13:23.34.981] [LOG]   Initializing new module helper ...
                [19.09.2021 13:23.34.983] [LOG]   Module helper loaded: calendar
                [19.09.2021 13:23.34.985] [LOG]   No helper found for module: compliments.
                [19.09.2021 13:23.34.988] [LOG]   No helper found for module: weather.
                [19.09.2021 13:23.35.025] [LOG]   Initializing new module helper ...
                [19.09.2021 13:23.35.027] [LOG]   Module helper loaded: newsfeed
                [19.09.2021 13:23.35.029] [LOG]   All module helpers loaded.
                [19.09.2021 13:23.35.143] [LOG]   Starting server on port 8080 ... 
                [19.09.2021 13:23.35.164] [LOG]   Server started ...
                [19.09.2021 13:23.35.166] [LOG]   Connecting socket for: updatenotification
                [19.09.2021 13:23.35.168] [LOG]   Connecting socket for: calendar
                [19.09.2021 13:23.35.170] [LOG]   Starting node helper for: calendar
                [19.09.2021 13:23.35.172] [LOG]   Connecting socket for: newsfeed
                [19.09.2021 13:23.35.174] [LOG]   Starting node helper for: newsfeed
                [19.09.2021 13:23.35.179] [LOG]   Sockets connected & modules started ...
                Invalid MIT-MAGIC-COOKIE-1 key/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! magicmirror@2.16.0 start: `./run-start.sh $1`
                npm ERR! Exit status 1
                npm ERR! 
                npm ERR! Failed at the magicmirror@2.16.0 start script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/pi/.npm/_logs/2021-09-19T17_23_35_342Z-debug.log
                
                
                S 1 Reply Last reply Sep 19, 2021, 8:22 PM Reply Quote 0
                • S Offline
                  sdetweil @droidus
                  last edited by sdetweil Sep 19, 2021, 9:19 PM Sep 19, 2021, 8:22 PM

                  @droidus what display are u using on the pi?

                  must have something, running in graphics mode, not text mode.

                  do u see the temples when u boot the pi?

                  do

                  echo $DISPLAY
                  DISPLAY=
                  

                  then

                  npm start
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    droidus
                    last edited by Sep 19, 2021, 9:55 PM

                    I am using the default one that comes with raspbian os.
                    :0.0
                    I get this error message: no such file or directory, open ‘/home//package.json’.

                    S 1 Reply Last reply Sep 19, 2021, 9:57 PM Reply Quote 0
                    • S Offline
                      sdetweil @droidus
                      last edited by Sep 19, 2021, 9:57 PM

                      @droidus have to be IN the MagicMirror folder for npm start

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Sep 19, 2021, 10:03 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/12
                        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