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

ELIFECYCLE error after fresh install

Scheduled Pinned Locked Moved Solved Troubleshooting
elifecycle
17 Posts 4 Posters 6.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.
  • S Offline
    sdetweil @MrKnight230
    last edited by Apr 14, 2019, 11:52 AM

    @MrKnight230 thx… are u doing this over vnc? also the MM has to be running in graphical mode, unless u are running server only… (DISPLAY 0 will not exist if in VNC or text mode)

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Apr 14, 2019, 11:58 AM Reply Quote 0
    • M Offline
      MrKnight230 @sdetweil
      last edited by Apr 14, 2019, 11:58 AM

      @sdetweil
      The RasPi is connected via HDMI to a Display and I’m using VNC to configure it. I had a previous install where everything worked with pm2 and manually using the command “npm start”.

      S 1 Reply Last reply Apr 14, 2019, 12:12 PM Reply Quote 0
      • S Offline
        sdetweil @MrKnight230
        last edited by sdetweil Apr 14, 2019, 12:13 PM Apr 14, 2019, 12:12 PM

        @MrKnight230 sorry, do not know… there were lots of code changes by modules MM uses and have no control over.

        I cannot recreate this over ssh…

        my npm is version 6.9.0

        you might try

        npm install -g npm
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Apr 14, 2019, 1:01 PM Reply Quote 1
        • M Offline
          MrKnight230 @sdetweil
          last edited by Apr 14, 2019, 1:01 PM

          @sdetweil Thanks for the suggestion, it successfully installed version 6.9.0 but sadly didn’t solve or even change anything about the problem.

          S 1 Reply Last reply Apr 14, 2019, 1:03 PM Reply Quote 0
          • S Offline
            sdetweil @MrKnight230
            last edited by Apr 14, 2019, 1:03 PM

            @MrKnight230 ok, i can only think that the vnc start is not working now…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Apr 14, 2019, 1:09 PM Reply Quote 0
            • M Offline
              MrKnight230 @sdetweil
              last edited by Apr 14, 2019, 1:09 PM

              @sdetweil Well I deactivated VNC, restarted and plugged my keyboard in the RasPi and this too didn’t change anything sadly.

              S 1 Reply Last reply Apr 14, 2019, 1:12 PM Reply Quote 0
              • S Offline
                sdetweil @MrKnight230
                last edited by Apr 14, 2019, 1:12 PM

                @MrKnight230 ok, and u did the DISPLAY=:0

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Apr 14, 2019, 1:21 PM Reply Quote 0
                • M Offline
                  MrKnight230 @sdetweil
                  last edited by Apr 14, 2019, 1:21 PM

                  @sdetweil I actually didn’t but the result stays the same with “DISPLAY=:0”

                  S 1 Reply Last reply Apr 14, 2019, 1:37 PM Reply Quote 0
                  • S Offline
                    sdetweil @MrKnight230
                    last edited by Apr 14, 2019, 1:37 PM

                    @MrKnight230 and after u did the git pull of the new version, you did npm install in the MM folder and all modules with a package.json file, right?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Apr 14, 2019, 2:05 PM Reply Quote 0
                    • M Offline
                      MrKnight230 @sdetweil
                      last edited by Apr 14, 2019, 2:05 PM

                      @sdetweil I did run npm install again now and the output looks like this:

                      pi@raspberrypi:~/MagicMirror $ npm install
                      
                      > magicmirror@2.7.1 install /home/pi/MagicMirror
                      > cd vendor && npm install
                      
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      
                      audited 219 packages in 10.29s
                      found 5 vulnerabilities (4 low, 1 high)
                        run `npm audit fix` to fix them, or `npm audit` for details
                      
                      > magicmirror@2.7.1 postinstall /home/pi/MagicMirror
                      > sh installers/postinstall/postinstall.sh && npm run install-fonts
                      
                      MagicMirror installation successful!
                      
                      > magicmirror@2.7.1 install-fonts /home/pi/MagicMirror
                      > cd fonts && npm install
                      
                      audited 1 package in 1.092s
                      found 0 vulnerabilities
                      
                      npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
                      npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
                      
                      added 7 packages from 10 contributors, updated 6 packages and audited 3468 packages in 63.499s
                      found 0 vulnerabilities
                      

                      But it again didn’t change anything.

                      B 1 Reply Last reply Apr 14, 2019, 2:48 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/17
                        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