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 wont start after failed update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 1.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.
    • S Offline
      sdetweil @unknownuser26
      last edited by

      @unknownuser26 always fun when the lights go out!

      do

      cd ~/MagicMirror
      rm -rf node_modules
      npm install
      

      that should get you back to working

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • U Offline
        unknownuser26
        last edited by

        Thanks alot. The Magic Mirror starts again.
        Unfortunately, I still get this message when I run npm install. Can you ignore the warnings? The instruction npm audit fix could not solve the problem either

        pi@magicmirror:~/MagicMirror $ npm install
        npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
        
        electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
         node ./download-chromedriver.js
        
        successfully dowloaded and extracted!
        
         electron@3.0.13 postinstall /home/pi/MagicMirror/node_modules/electron
         node install.js
        
        Downloading tmp-11791-1-SHASUMS256.txt-3.0.13
        [============================================>] 100.0% of 4.79 kB (4.79 kB/s)
        
        > magicmirror@2.9.0 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 220 packages in 6.3s
        found 5 vulnerabilities (4 low, 1 high)
          run `npm audit fix` to fix them, or `npm audit` for details
        
         magicmirror@2.9.0 postinstall /home/pi/MagicMirror
         sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
        
        MagicMirror installation successful!
        
        magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
        cd fonts && npm install
        
        audited 1 package in 1.49s
        found 0 vulnerabilities
        
        npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
        npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
        
        added 1044 packages from 1317 contributors and audited 3477 packages in 351.357s
        found 0 vulnerabilities
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @unknownuser26
          last edited by sdetweil

          @unknownuser26 yes, they added checking for hacker vulnerabilities…

          one cannot fix them all… so, run audit fix once, and ignore the rest… they are just warnings

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • U Offline
            unknownuser26
            last edited by

            @sdetweil said in MagicMirror wont start after failed update:

            yes, they added checking for hacker vulnerabilities…
            one cannot fix them all… so, run audir fix once, and ignore the rest… they are just warnings

            Thank you for your help

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @unknownuser26
              last edited by

              @unknownuser26 my pleasure

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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