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.

    Was working fine, now just a blank screen

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 4 Posters 1.7k Views 4 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
      davidkmcw
      last edited by

      I was making minor edits, adding modules and check all along the way, no idea what happened but now just getting a blank screen, config passes check passes;

      pi@magicmirror:~/MagicMirror $ npm run config:check
      
      > magicmirror@2.9.0 config:check /home/pi/MagicMirror
      > node tests/configs/check_config.js
      
      Checking file...  /home/pi/MagicMirror/config/config.js
      Your configuration file doesn't contain syntax errors :)
      

      MagicMirror-out.log file is curious;

      > magicmirror@2.9.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.9.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Loading module helpers ...
      No helper found for module: alert.
      Whoops! There was an uncaught exception...
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Launching application.
      

      Machine can definitely access the internet. The error file is obviously large, but this looks relevant, however now I am lost.

      (process:1118): Gtk-WARNING **: 20:41:00.584: Locale not supported by C library.
      	Using the fallback 'C' locale.
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
      App threw an error during load
      Error: Cannot find module 'node_helper'
      
      B S 2 Replies Last reply Reply Quote 0
      • B Offline
        BD0G @davidkmcw
        last edited by

        @davidkmcw
        You could try pressing CTRL-Shift -i after the Magic Mirror launches and provides a black screen. The Developers Window should be displayed. Then click on the Console Tab. Errors are typically listed in Red and that may help to diagnose where the issue is.
        Learned this from Sam @sdetweil .
        I personally cannot launch the Developers console on my Magic Mirror setup , but that does not mean you cant. ;)

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

          @davidkmcw said in Was working fine, now just a blank screen:

          Error: Cannot find module 'node_helper

          that thing again

          do

          cd ~/MagicMirror
          git checkout  modules/node_modules/node_helper/index.js
          

          this was caused by doing an npm install in a folder that did NOT have a package.json file

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 2
          • D Offline
            Detto65
            last edited by

            Had the same issue after updating a module in the remote control panel
            This did solve it, tx sdetweil

            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