Read the statement by Michael Teeuw here.
Does not work
-
Re: MMM-WunderGround-PWS-Observations
After installing your modul, MM does not start. Idea? Here the lines:
npm run start
magicmirror@2.20.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[05.09.2022 14:38.42.387] [LOG] Starting MagicMirror: v2.20.0
[05.09.2022 14:38.42.404] [LOG] Loading config …
[05.09.2022 14:38.42.418] [LOG] Loading module helpers …
[05.09.2022 14:38.42.424] [LOG] No helper found for module: alert.
[05.09.2022 14:38.42.478] [LOG] Initializing new module helper …
[05.09.2022 14:38.42.485] [LOG] Module helper loaded: updatenotification
[05.09.2022 14:38.42.490] [LOG] No helper found for module: clock.
[05.09.2022 14:38.42.995] [LOG] Initializing new module helper …
[05.09.2022 14:38.42.997] [LOG] Module helper loaded: calendar
[05.09.2022 14:38.43.000] [LOG] No helper found for module: compliments.
[05.09.2022 14:38.43.004] [LOG] No helper found for module: weather.
[05.09.2022 14:38.43.033] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
Require stack:- /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
[05.09.2022 14:38.43.055] [LOG] Loading module helpers …
[05.09.2022 14:38.43.060] [LOG] No helper found for module: alert.
[05.09.2022 14:38.43.062] [LOG] Initializing new module helper …
[05.09.2022 14:38.43.064] [LOG] Module helper loaded: updatenotification
[05.09.2022 14:38.43.066] [LOG] No helper found for module: clock.
[05.09.2022 14:38.43.069] [LOG] Initializing new module helper …
[05.09.2022 14:38.43.072] [LOG] Module helper loaded: calendar
[05.09.2022 14:38.43.076] [LOG] No helper found for module: compliments.
[05.09.2022 14:38.43.079] [LOG] No helper found for module: weather.
[05.09.2022 14:38.43.087] [ERROR] App threw an error during load
[05.09.2022 14:38.43.096] [ERROR] Error: Cannot find module ‘request’
Require stack:- /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1173:10)
[05.09.2022 14:38.43.102] [ERROR] Whoops! There was an uncaught exception…
[05.09.2022 14:38.43.125] [ERROR] Error: Cannot find module ‘request’
Require stack: - /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1173:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js’,
‘/home/pi/MagicMirror/js/app.js’,
‘/home/pi/MagicMirror/js/electron.js’,
‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
undefined
]
}
[05.09.2022 14:38.43.135] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[05.09.2022 14:38.43.137] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[05.09.2022 14:38.43.734] [LOG] Launching application.
[2203:0905/143844.762678:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[2230:0905/143845.008543:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[05.09.2022 14:41.14.673] [LOG] Shutting down server…
[05.09.2022 14:41.14.680] [LOG] Stopping module helper: updatenotification
[05.09.2022 14:41.14.682] [LOG] Stopping module helper: calendar
[05.09.2022 14:41.14.684] [LOG] Stopping module helper: updatenotification
[05.09.2022 14:41.14.685] [LOG] Stopping module helper: calendar
[05.09.2022 14:41.14.688] [ERROR] Whoops! There was an uncaught exception…
[05.09.2022 14:41.14.692] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
at App. (/home/pi/MagicMirror/js/electron.js:145:7)
at App.emit (node:events:526:28)
at appMethod (node:electron/js2c/browser_init:69:1830)
at Object.execute (node:electron/js2c/browser_init:69:5966)
at MenuItem.click (node:electron/js2c/browser_init:73:1862)
at a._executeCommand (node:electron/js2c/browser_init:81:2453)
[05.09.2022 14:41.14.695] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[05.09.2022 14:41.14.699] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
pi@raspberrypi:~/MagicMirror/config $
-
-
@sdetweil
Thank you for your support but it´s still not running. I did all the steps you listed but there is still black screen.
Here the lines:magicmirror@2.20.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[06.09.2022 14:20.07.952] [LOG] Starting MagicMirror: v2.20.0
[06.09.2022 14:20.07.968] [LOG] Loading config …
[06.09.2022 14:20.07.993] [LOG] Loading module helpers …
[06.09.2022 14:20.07.999] [LOG] No helper found for module: alert.
[06.09.2022 14:20.08.063] [LOG] Initializing new module helper …
[06.09.2022 14:20.08.070] [LOG] Module helper loaded: updatenotification
[06.09.2022 14:20.08.077] [LOG] No helper found for module: clock.
[06.09.2022 14:20.08.637] [LOG] Initializing new module helper …
[06.09.2022 14:20.08.639] [LOG] Module helper loaded: calendar
[06.09.2022 14:20.08.651] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
Require stack:- /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
[06.09.2022 14:20.08.654] [LOG] Loading module helpers …
[06.09.2022 14:20.08.656] [LOG] No helper found for module: alert.
[06.09.2022 14:20.08.671] [LOG] Initializing new module helper …
[06.09.2022 14:20.08.674] [LOG] Module helper loaded: updatenotification
[06.09.2022 14:20.08.676] [LOG] No helper found for module: clock.
[06.09.2022 14:20.08.678] [LOG] Initializing new module helper …
[06.09.2022 14:20.08.680] [LOG] Module helper loaded: calendar
[06.09.2022 14:20.08.688] [ERROR] App threw an error during load
[06.09.2022 14:20.08.695] [ERROR] Error: Cannot find module ‘request’
Require stack:- /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1173:10)
[06.09.2022 14:20.08.700] [ERROR] Whoops! There was an uncaught exception…
[06.09.2022 14:20.08.720] [ERROR] Error: Cannot find module ‘request’
Require stack: - /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1173:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js’,
‘/home/pi/MagicMirror/js/app.js’,
‘/home/pi/MagicMirror/js/electron.js’,
‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
undefined
]
}
[06.09.2022 14:20.08.730] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[06.09.2022 14:20.08.731] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[06.09.2022 14:20.09.319] [LOG] Launching application.
[3525:0906/142010.469551:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[3555:0906/142010.766784:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[06.09.2022 14:20.24.644] [LOG] Shutting down server…
[06.09.2022 14:20.24.650] [LOG] Stopping module helper: updatenotification
[06.09.2022 14:20.24.652] [LOG] Stopping module helper: calendar
[06.09.2022 14:20.24.653] [LOG] Stopping module helper: updatenotification
[06.09.2022 14:20.24.655] [LOG] Stopping module helper: calendar
[06.09.2022 14:20.24.657] [ERROR] Whoops! There was an uncaught exception…
[06.09.2022 14:20.24.661] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
at App. (/home/pi/MagicMirror/js/electron.js:145:7)
at App.emit (node:events:526:28)
at appMethod (node:electron/js2c/browser_init:69:1830)
at Object.execute (node:electron/js2c/browser_init:69:5966)
at MenuItem.click (node:electron/js2c/browser_init:73:1862)
at a._executeCommand (node:electron/js2c/browser_init:81:2453)
[06.09.2022 14:20.24.664] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[06.09.2022 14:20.24.666] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
pi@raspberrypi:~/MagicMirror $
-
@Volkae said in Does not work:
[06.09.2022 14:20.08.688] [ERROR] App threw an error during load
[06.09.2022 14:20.08.695] [ERROR] Error: Cannot find module ‘request’hm… maybe not?
-
@sdetweil
I did the same procedure again, now it works!!Thanks a lot!!!