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.

    MMM-AssistantMk2 Problem with Blackscreen

    Scheduled Pinned Locked Moved Solved Troubleshooting
    10 Posts 4 Posters 3.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.
    • ? Offline
      A Former User @seppel1078
      last edited by

      @seppel1078
      npm start dev should be executed in root of ‘MagicMirror’ directory.

      cd ~/MagicMirror
      npm start dev
      

      (And if you were using pm2 previously, pm2 stop mm before execution)

      1 Reply Last reply Reply Quote 0
      • S Offline
        seppel1078
        last edited by

        
        pi@raspberrypi3:~/MagicMirror $ npm start dev
        
        > magicmirror@2.5.0 start /home/pi/MagicMirror
        > sh run-start.sh "dev"
        
        Starting MagicMirror: v2.5.0
        Loading config ...
        Loading module helpers ...
        No helper found for module: alert.
        WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/build/Release/binding.node'
        was compiled against a different Node.js version using
        NODE_MODULE_VERSION 59. This version of Node.js requires
        NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
        the module (for instance, using `npm rebuild` or `npm install`).
        Loading module helpers ...
        No helper found for module: alert.
        App threw an error during load
        Error: The module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/build/Release/binding.node'
        was compiled against a different Node.js version using
        NODE_MODULE_VERSION 59. This version of Node.js requires
        NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
        the module (for instance, using `npm rebuild` or `npm install`).
            at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)
            at Object.Module._extensions..node (module.js:671:18)
            at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)
            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 bindings (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/bindings/bindings.js:81:44)
            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/index.js:9:36)
        Whoops! There was an uncaught exception...
        Error: The module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/build/Release/binding.node'
        was compiled against a different Node.js version using
        NODE_MODULE_VERSION 59. This version of Node.js requires
        NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
        the module (for instance, using `npm rebuild` or `npm install`).
            at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)
            at Object.Module._extensions..node (module.js:671:18)
            at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)
            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 bindings (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/bindings/bindings.js:81:44)
            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/index.js:9:36)
        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.
        
        
        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @seppel1078
          last edited by

          @seppel1078 said in MMM-AssistantMk2 Problem with Blackscreen:

          NODE_MODULE_VERSION 59. This version of Node.js requires
          NODE_MODULE_VERSION 57. Please try re-compiling or re-installing

          This is the reason.
          See https://github.com/eouia/MMM-AssistantMk2#installation

          1 Reply Last reply Reply Quote 0
          • S Offline
            seppel1078
            last edited by

            I’ll try that out. Thanks for the quick help so far

            1 Reply Last reply Reply Quote 0
            • S Offline
              seppel1078
              last edited by

              now the magic mirror starts normally. Many thanks for the help

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sunilkvr @seppel1078
                last edited by

                @seppel1078

                Can you please share the config file used for MMM-AssistantMk2. I am also getting same black screen issue with cursor. What step you took for solving this issue.

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  Doghaus96 @sunilkvr
                  last edited by

                  @sunilkvr
                  {
                  module: “MMM-AssistantMk2”,
                  position: “top_right”,
                  config: {
                  useWelcomeMessage: “brief today”
                  }
                  },

                  this simple config should work just for testing and making sure the module loads.
                  I ended up fixing mine by rolling back to grpc 1.2 and gcc7 then rebuilding the binaries. Took about an hour on my pi 2, but its up and running now.

                  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