MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. maxheartrate
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 21
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: After 2.8 I'm having tons of issues. What are the steps from square 1 to get this working?

      Hi,

      I am having the exact same problem: Black screen after 2.8 update. I followed all the suggestions you two came up with but my screen remains black.

      This is what I get after npm start:

      
      Starting MagicMirror: v2.8.0
      Loading config ...
      Loading module helpers ...
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
      Loading module helpers ...
      App threw an error during load
      Error: Cannot find module 'node_helper'
          at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (internal/modules/cjs/loader.js:528:25)
          at Module.require (internal/modules/cjs/loader.js:658:17)
          at require (internal/modules/cjs/helpers.js:20:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
          at Module._compile (internal/modules/cjs/loader.js:711:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
          at Module.load (internal/modules/cjs/loader.js:620:32)
      Whoops! There was an uncaught exception...
      { Error: Cannot find module 'node_helper'
          at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (internal/modules/cjs/loader.js:528:25)
          at Module.require (internal/modules/cjs/loader.js:658:17)
          at require (internal/modules/cjs/helpers.js:20:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
          at Module._compile (internal/modules/cjs/loader.js:711:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
          at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
      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.
      ^Cpi@raspberrypi:~/MagicMirror $ 
      pi@raspberrypi:~/MagicMirror $ npm stop
      npm ERR! missing script: stop
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-08-08T12_50_44_769Z-debug.log
      pi@raspberrypi:~/MagicMirror $ pm2 stop mm
      [PM2] Applying action stopProcessId on app [mm](ids: 0)
      [PM2] [mm](0) ✓
      ┌─────────────┬────┬──────┬─────────┬───┬─────┬────────┐
      │ Name        │ id │ mode │ status  │ ↺ │ cpu │ memory │
      ├─────────────┼────┼──────┼─────────┼───┼─────┼────────┤
      │ MagicMirror │ 1  │ fork │ stopped │ 0 │ 0%  │ 0 B    │
      │ mm          │ 0  │ fork │ stopped │ 1 │ 0%  │ 0 B    │
      └─────────────┴────┴──────┴─────────┴───┴─────┴────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~/MagicMirror $ pm2 list
      ┌─────────────┬────┬──────┬─────────┬───┬─────┬────────┐
      │ Name        │ id │ mode │ status  │ ↺ │ cpu │ memory │
      ├─────────────┼────┼──────┼─────────┼───┼─────┼────────┤
      │ MagicMirror │ 1  │ fork │ stopped │ 0 │ 0%  │ 0 B    │
      │ mm          │ 0  │ fork │ stopped │ 1 │ 0%  │ 0 B    │
      └─────────────┴────┴──────┴─────────┴───┴─────┴────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~/MagicMirror $  pm2 start MagicMirror
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: 1)
      [PM2] [MagicMirror](1) ✓
      [PM2] Process successfully started
      ┌─────────────┬────┬──────┬─────────┬───┬─────┬──────────┐
      │ Name        │ id │ mode │ status  │ ↺ │ cpu │ memory   │
      ├─────────────┼────┼──────┼─────────┼───┼─────┼──────────┤
      │ MagicMirror │ 1  │ fork │ online  │ 0 │ 0%  │ 2.5 MB   │
      │ mm          │ 0  │ fork │ stopped │ 1 │ 0%  │ 0 B      │
      └─────────────┴────┴──────┴─────────┴───┴─────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.8.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      
      Starting MagicMirror: v2.8.0
      Loading config ...
      Loading module helpers ...
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
      Loading module helpers ...
      App threw an error during load
      Error: Cannot find module 'node_helper'
          at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (internal/modules/cjs/loader.js:528:25)
          at Module.require (internal/modules/cjs/loader.js:658:17)
          at require (internal/modules/cjs/helpers.js:20:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
          at Module._compile (internal/modules/cjs/loader.js:711:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
          at Module.load (internal/modules/cjs/loader.js:620:32)
      Whoops! There was an uncaught exception...
      { Error: Cannot find module 'node_helper'
          at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (internal/modules/cjs/loader.js:528:25)
          at Module.require (internal/modules/cjs/loader.js:658:17)
          at require (internal/modules/cjs/helpers.js:20:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
          at Module._compile (internal/modules/cjs/loader.js:711:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
          at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
      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.
      

      I also get the black screen when I start with ‘pm2 MagicMirror’ which was created by @sdetweil script and starting with my original command ‘pm2 start mm’.

      Looks really screwed up and since I have to admit that I am a noob I am lost.

      Any suggestions? Best, Max

      posted in Troubleshooting
      M
      maxheartrate
    • 1 / 1