Black screen after MMM-Tools installation
-
Hi Thomas, as suggested, I’m moving here the topic regarding black screen. So I got the logs from pm2:
home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:11:12)
0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:968:30)
0|MagicMir | at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10) {
0|MagicMir | code: ‘MODULE_NOT_FOUND’,
0|MagicMir | requireStack: [
0|MagicMir | ‘/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js’,
0|MagicMir | ‘/home/pi/MagicMirror/js/app.js’,
0|MagicMir | ‘/home/pi/MagicMirror/js/electron.js’,
0|MagicMir | ‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
0|MagicMir | undefined
0|MagicMir | ]
0|MagicMir | }
0|MagicMir | [17.03.2021 14:12.04.633] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [17.03.2021 14:12.04.634] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [17.03.2021 14:12.04.889] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 -
hi, can you try to reinstall the module with this commands:
cd ~/MagicMirror/modules/MMM-Tools git pull rm -rf package-lock.json node_modules npm install
naturaly give me the result of this commands
Note: the main library of this module seams to not be installed (or installed with an error)
what why you have this error on pm2 -
Hi, I have solved the issue already by running npm install inside the folder. It seems that before I run this command in the modules folder. Now everything is working.
-
perfect so
-
bugsounet