Read the statement by Michael Teeuw here.
MMM-AssistantMk2 Problem with Blackscreen
-
@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) -
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.
-
@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-installingThis is the reason.
See https://github.com/eouia/MMM-AssistantMk2#installation -
I’ll try that out. Thanks for the quick help so far
-
now the magic mirror starts normally. Many thanks for the help
-
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.
-
@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.