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.

    MM died after reboot

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 1 Posters 905 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.
    • eniacE Offline
      eniac
      last edited by eniac

      And anotherone error … I think that is my last try with MM2. Have a lot of different issues and that is the last one.

      2 Month running without Problems, no reboot, no error, no frozen module … running well. But yesterday the calender Module does not update. reboot the Pi with VNC und volia … no MM anymore …

      This is what happens ->

      pi@raspberrypi:~ $ ./mm.sh
      
      > magicmirror@2.5.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      App threw an error during load
      /home/pi/MagicMirror/node_modules/express/lib/application.js:164
          onerror: logerror."ind(th)s)
                            ^^^^^^^^^^
      
      SyntaxError: Invalid or unexpected token
          at createScript (vm.js:80:10)
          at Object.runInThisContext (vm.js:139:10)
          at Module._compile (module.js:606:28)
          at Object.Module._extensions..js (module.js:653:10)
          at Module.load (module.js:561:32)
          at tryModuleLoad (module.js:504:12)
          at Function.Module._load (module.js:496:3)
          at Module.require (module.js:586:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/express/lib/express.js:18:13)
      A JavaScript error occurred in the main process
      Uncaught Exception:
      /home/pi/MagicMirror/node_modules/express/lib/application.js:164
          onerror: logerror."ind(th)s)
                            ^^^^^^^^^^
      
      SyntaxError: Invalid or unexpected token
          at createScript (vm.js:80:10)
          at Object.runInThisContext (vm.js:139:10)
          at Module._compile (module.js:606:28)
          at Object.Module._extensions..js (module.js:653:10)
          at Module.load (module.js:561:32)
          at tryModuleLoad (module.js:504:12)
          at Function.Module._load (module.js:496:3)
          at Module.require (module.js:586:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/express/lib/express.js:18:13)
      
      
      

      That is what “sudo npm run config:check” bings back.

      pi@raspberrypi:~/MagicMirror $ sudo npm run config:check
      
      > magicmirror@2.5.0 config:check /home/pi/MagicMirror
      > node tests/configs/check_config.js
      
      /home/pi/MagicMirror/node_modules/jshint/data/non-ascii-identifier-start.js:1
      (function (exports, require, module, __filename, __dirname) { var str = ' Bunch of Numbers ! )
      
      SyntaxError: Unexpected identifier
          at new Script (vm.js:51:7)
          at createScript (vm.js:136:10)
          at Object.runInThisContext (vm.js:197:10)
          at Module._compile (internal/modules/cjs/loader.js:618:28)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
          at Module.load (internal/modules/cjs/loader.js:566:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
          at Function.Module._load (internal/modules/cjs/loader.js:498:3)
          at Module.require (internal/modules/cjs/loader.js:598:17)
          at require (internal/modules/cjs/helpers.js:11:18)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.5.0 config:check: `node tests/configs/check_config.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.5.0 config:check 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!     /root/.npm/_logs/2018-12-21T16_48_22_625Z-debug.log
      pi@raspberrypi:~/MagicMirror $ 
      
      

      Bunch of Numbers was blockt as Spam from Askinet.com ? I removed them …

      Any ideas ? I don’t what to bury that nice project, but it is the fifth time i have to repair that thing after an Upgrade or Update, reboot or unclean shutdown.

      1 Reply Last reply Reply Quote 0
      • eniacE Offline
        eniac
        last edited by eniac

        I think it was the SD Card. So many different Files with syntax errors so I’d mounted a Notebook HD with a Adapter and reinstalled the RaspberryOS. Gve it an new try

        eniacE 1 Reply Last reply Reply Quote 0
        • eniacE Offline
          eniac @eniac
          last edited by

          Up… and Running …

          Now I can hear the hadrdisk working… I don’t wounder how much access the HD does , the sd cards died quickly :(

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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