Unsolved After Updating EXT-Updatenotifications and EXT-Internet nothing works
-
Hi hello i updated now EXT-Updatenotifications and EXT-Internet both at the end had errors so i used npm audit fix and because it didnt work in EXT-Internet i also used npm audit fix --force . I did all these with npm 6.14.15 and node v14.13.1 ,
if i am supposed to use something else let me know what works best in the versions. Anyway now the mirror doesnt even start and i am wondering how to fix it and where did i go wrong. -
@Angel ```
pi@raspberrypi:~/MagicMirror $ npm run startmagicmirror@2.20.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[20.09.2022 23:28.24.639] [LOG] Starting MagicMirror: v2.20.0
[20.09.2022 23:28.24.647] [LOG] Loading config …
[20.09.2022 23:28.24.656] [LOG] Loading module helpers …
[20.09.2022 23:28.24.659] [LOG] No helper found for module: alert.
[20.09.2022 23:28.24.677] [LOG] Initializing new module helper …
[20.09.2022 23:28.24.678] [LOG] Module helper loaded: updatenotification
[20.09.2022 23:28.24.680] [LOG] No helper found for module: clock.
[20.09.2022 23:28.24.747] [LOG] Initializing new module helper …
[20.09.2022 23:28.24.748] [LOG] Module helper loaded: MMM-Weather
[20.09.2022 23:28.24.771] [LOG] Initializing new module helper …
[20.09.2022 23:28.24.773] [LOG] Module helper loaded: MMM-NewsFeed
[20.09.2022 23:28.24.774] [LOG] No helper found for module: compliments.
[20.09.2022 23:28.24.816] [LOG] Initializing new module helper …
[20.09.2022 23:28.24.817] [LOG] Module helper loaded: MMM-network-signal
[20.09.2022 23:28.25.271] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.272] [LOG] Module helper loaded: MMM-GoogleAssistant
[20.09.2022 23:28.25.492] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.493] [LOG] Module helper loaded: Gateway
[20.09.2022 23:28.25.495] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.496] [LOG] Module helper loaded: EXT-Alert
[20.09.2022 23:28.25.498] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.498] [LOG] Module helper loaded: EXT-Background
[20.09.2022 23:28.25.501] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.502] [LOG] Module helper loaded: EXT-Detector
[20.09.2022 23:28.25.504] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.504] [LOG] Module helper loaded: EXT-Browser
[20.09.2022 23:28.25.733] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.734] [LOG] Module helper loaded: EXT-FreeboxTV
[20.09.2022 23:28.25.912] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.912] [LOG] Module helper loaded: EXT-GooglePhotos
[20.09.2022 23:28.25.971] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.973] [LOG] Module helper loaded: EXT-Internet
[20.09.2022 23:28.25.977] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.979] [LOG] Module helper loaded: EXT-MusicPlayer
[20.09.2022 23:28.25.982] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.983] [LOG] Module helper loaded: EXT-Photos
[20.09.2022 23:28.25.986] [LOG] Initializing new module helper …
[20.09.2022 23:28.25.987] [LOG] Module helper loaded: EXT-RadioPlayer
[20.09.2022 23:28.26.020] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.021] [LOG] Module helper loaded: EXT-Screen
[20.09.2022 23:28.26.026] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.027] [LOG] Module helper loaded: EXT-Governor
[20.09.2022 23:28.26.029] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.030] [LOG] Module helper loaded: EXT-Volume
[20.09.2022 23:28.26.031] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.032] [LOG] Module helper loaded: EXT-Welcome
[20.09.2022 23:28.26.311] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.312] [LOG] Module helper loaded: EXT-YouTubeCast
[20.09.2022 23:28.26.619] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/modules/EXT-UpdateNotification/node_modules/latest-version/index.js from /home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js not supported.
Instead change the require of index.js in /home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js to a dynamic import() which is available in all CommonJS modules.
[20.09.2022 23:28.26.620] [LOG] Loading module helpers …
[20.09.2022 23:28.26.621] [LOG] No helper found for module: alert.
[20.09.2022 23:28.26.622] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.622] [LOG] Module helper loaded: updatenotification
[20.09.2022 23:28.26.623] [LOG] No helper found for module: clock.
[20.09.2022 23:28.26.623] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.624] [LOG] Module helper loaded: MMM-Weather
[20.09.2022 23:28.26.624] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.625] [LOG] Module helper loaded: MMM-NewsFeed
[20.09.2022 23:28.26.626] [LOG] No helper found for module: compliments.
[20.09.2022 23:28.26.626] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.627] [LOG] Module helper loaded: MMM-network-signal
[20.09.2022 23:28.26.627] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.628] [LOG] Module helper loaded: MMM-GoogleAssistant
[20.09.2022 23:28.26.628] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.629] [LOG] Module helper loaded: Gateway
[20.09.2022 23:28.26.629] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.630] [LOG] Module helper loaded: EXT-Alert
[20.09.2022 23:28.26.630] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.631] [LOG] Module helper loaded: EXT-Background
[20.09.2022 23:28.26.631] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.632] [LOG] Module helper loaded: EXT-Detector
[20.09.2022 23:28.26.632] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.633] [LOG] Module helper loaded: EXT-Browser
[20.09.2022 23:28.26.633] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.634] [LOG] Module helper loaded: EXT-FreeboxTV
[20.09.2022 23:28.26.635] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.635] [LOG] Module helper loaded: EXT-GooglePhotos
[20.09.2022 23:28.26.636] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.636] [LOG] Module helper loaded: EXT-Internet
[20.09.2022 23:28.26.637] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.638] [LOG] Module helper loaded: EXT-MusicPlayer
[20.09.2022 23:28.26.638] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.639] [LOG] Module helper loaded: EXT-Photos
[20.09.2022 23:28.26.639] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.640] [LOG] Module helper loaded: EXT-RadioPlayer
[20.09.2022 23:28.26.641] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.642] [LOG] Module helper loaded: EXT-Screen
[20.09.2022 23:28.26.643] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.643] [LOG] Module helper loaded: EXT-Governor
[20.09.2022 23:28.26.644] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.644] [LOG] Module helper loaded: EXT-Volume
[20.09.2022 23:28.26.645] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.645] [LOG] Module helper loaded: EXT-Welcome
[20.09.2022 23:28.26.646] [LOG] Initializing new module helper …
[20.09.2022 23:28.26.647] [LOG] Module helper loaded: EXT-YouTubeCast
[20.09.2022 23:28.26.654] [ERROR] App threw an error during load
[20.09.2022 23:28.26.655] [ERROR] Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/modules/EXT-UpdateNotification/node_modules/latest-version/index.js from /home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js not supported.
Instead change the require of index.js in /home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js to a dynamic import() which is available in all CommonJS modules.
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Object.<anonymous> (/home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js:5:23)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Object.<anonymous> (/home/pi/MagicMirror/modules/EXT-UpdateNotification/node_helper.js:15:18)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at loadModule (/home/pi/MagicMirror/js/app.js:127:19)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at loadModule (/home/pi/MagicMirror/js/app.js:146:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at loadModule (/home/pi/MagicMirror/js/app.js:146:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at loadModule (/home/pi/MagicMirror/js/app.js:146:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at loadModules (/home/pi/MagicMirror/js/app.js:176:3)
at /home/pi/MagicMirror/js/app.js:225:4
at loadConfig (/home/pi/MagicMirror/js/app.js:81:4)
at App.start (/home/pi/MagicMirror/js/app.js:212:3)
at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:159:7)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at loadApplicationPackage (/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js:110:16)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js:222:9)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Object.<anonymous> (node:electron/js2c/browser_init:185:3104)
at ./lib/browser/init.ts (node:electron/js2c/browser_init:185:3308)
at webpack_require (node:electron/js2c/browser_init:1:128)
at node:electron/js2c/browser_init:1:1200
at node:electron/js2c/browser_init:1:1267
at c._load (node:electron/js2c/asar_bundle:5:13343)
[20.09.2022 23:28.26.658] [ERROR] Whoops! There was an uncaught exception…
[20.09.2022 23:28.26.663] [ERROR] Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/modules/EXT-UpdateNotification/node_modules/latest-version/index.js from /home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js not supported.
Instead change the require of index.js in /home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js to a dynamic import() which is available in all CommonJS modules.
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Object.<anonymous> (/home/pi/MagicMirror/modules/EXT-UpdateNotification/lib/npmCheck.js:5:23)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Object.<anonymous> (/home/pi/MagicMirror/modules/EXT-UpdateNotification/node_helper.js:15:18)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at loadModule (/home/pi/MagicMirror/js/app.js:127:19)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at loadModule (/home/pi/MagicMirror/js/app.js:146:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at loadModule (/home/pi/MagicMirror/js/app.js:146:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:144:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at /home/pi/MagicMirror/js/app.js:167:6
at loadModule (/home/pi/MagicMirror/js/app.js:146:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
at loadModules (/home/pi/MagicMirror/js/app.js:176:3)
at /home/pi/MagicMirror/js/app.js:225:4
at loadConfig (/home/pi/MagicMirror/js/app.js:81:4)
at App.start (/home/pi/MagicMirror/js/app.js:212:3)
at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:159:7)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at loadApplicationPackage (/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js:110:16)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js:222:9)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Object.<anonymous> (node:electron/js2c/browser_init:185:3104)
at ./lib/browser/init.ts (node:electron/js2c/browser_init:185:3308)
at webpack_require (node:electron/js2c/browser_init:1:128)
at node:electron/js2c/browser_init:1:1200
at node:electron/js2c/browser_init:1:1267
at c._load (node:electron/js2c/asar_bundle:5:13343) {
code: ‘ERR_REQUIRE_ESM’
}
[20.09.2022 23:28.26.667] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? -
This is the first part of what i see in my screen. Please oh please help me guys understand how to fix it because the mirror worked normally before i updated those two.
I am waiting for your response , i have no idea how to fix it or why it went that way. I saw errors in EXT-Internet as i tried to update it for sure but there is something wrong with EXT-updatenotifications also. -
i also updated EXT-Spotify but i didnt see or fixed any errors in there. I mention it because i didnt make any changes in the config file and i am not sure if it needed something new somewhere.
-
@Angel
After trying to update EXT-Internet i can see this on my screen.
And it doesnt update because the notification still exist inside the mm environment,pi@raspberrypi:~/MagicMirror/modules/EXT-Internet $ npm run update > EXT-Internet@1.0.1 update /home/pi/MagicMirror/modules/EXT-Internet > installer/update.sh installer/update.sh: 9: Bad substitution installer/update.sh: 23: source: not found grep: ./package.json: No such file or directory grep: ./package.json: No such file or directory installer/update.sh: 31: Installer_info: not found installer/update.sh: 36: [: Illegal number: installer/update.sh: 42: Installer_info: not found installer/update.sh: 43: Installer_checkOS: not found installer/update.sh: 44: [: unexpected operator installer/update.sh: 49: Installer_success: not found installer/update.sh: 57: Installer_info: not found HEAD is now at 30d5bfe5 Merge pull request #2873 from MichMich/develop hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. installer/update.sh: 63: Installer_info: not found installer/update.sh: 67: Installer_info: not found npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! > magicmirror@2.20.0 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 9 packages in 0.758s found 4 vulnerabilities (1 low, 1 moderate, 2 high) run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.20.0 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror² installation finished successfully! " > magicmirror@2.20.0 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 2 packages in 0.59s found 0 vulnerabilities MagicMirror² installation finished successfully! > magicmirror@2.20.0 prepare /home/pi/MagicMirror > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. husky - Git hooks installed npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 731 packages in 17.704s 82 packages are looking for funding run `npm fund` for details found 5 vulnerabilities (1 low, 2 moderate, 2 high) run `npm audit fix` to fix them, or `npm audit` for details pi@raspberrypi:~/MagicMirror/modules/EXT-Internet $ npm audit fix up to date in 0.217s fixed 0 of 0 vulnerabilities in 5 scanned packages
-
EXT-UpdateNotification
you have
code: 'ERR_REQUIRE_ESM'
why ?
Just because you try to override my package.json file by usingnpm audit fix --force
So npm will install some incompatible libraries with MagicMirrorThat’s why I always says… never user this command
For correct this use:
cd ~/MagicMirror/modules/EXT-UpdateNotification rm -rf package-lock.json node_modules && git reset --hard && git pull && npm run update
EXT-Internet
this issue is corrected since 7 month
just try this:
cd ~/MagicMirror/modules/EXT-Internet rm -rf package-lock.json node_modules && git reset --hard && git pull && npm run update
-
Note:
I’m just trying a new part of code for override MagicMirror rules (ERR_REQUIRE_ESM
)
It’s mean … I try to load a ES6 library with MagicMirror as a module without modifing main core…works and under testing in dev with v1.0.5 of
EXT-UpdateNotification
. (with my prod mirror)
If it’s stable and ok, I will publish it. -
bugsounet
-
@bugsounet
Hey Bugs , it was time for vacationi admit it i was a bit off.
I applied the solution.
In EXT-Internet i am still having problems . Can you please tell me what else to do?
here is the code:pi@raspberrypi:~/MagicMirror/modules/EXT-Internet $ rm -rf package-lock.json node_modules && git reset --hard && git pull && npm run update HEAD is now at 3dd8226 add Greek translation hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. > EXT-Internet@1.0.2 update /home/pi/MagicMirror/modules/EXT-Internet > installer/update.sh installer/update.sh: 9: Bad substitution installer/update.sh: 23: source: not found grep: ./package.json: No such file or directory grep: ./package.json: No such file or directory installer/update.sh: 31: Installer_info: not found installer/update.sh: 36: [: Illegal number: installer/update.sh: 42: Installer_info: not found installer/update.sh: 43: Installer_checkOS: not found installer/update.sh: 44: [: unexpected operator installer/update.sh: 49: Installer_success: not found installer/update.sh: 57: Installer_info: not found HEAD is now at 30d5bfe5 Merge pull request #2873 from MichMich/develop hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. installer/update.sh: 63: Installer_info: not found installer/update.sh: 67: Installer_info: not found npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! > magicmirror@2.20.0 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 9 packages in 0.716s found 4 vulnerabilities (1 low, 1 moderate, 2 high) run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.20.0 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror² installation finished successfully! " > magicmirror@2.20.0 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 2 packages in 0.578s found 0 vulnerabilities MagicMirror² installation finished successfully! > magicmirror@2.20.0 prepare /home/pi/MagicMirror > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. husky - Git hooks installed npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 731 packages in 17.441s 82 packages are looking for funding run `npm fund` for details found 5 vulnerabilities (1 low, 2 moderate, 2 high) run `npm audit fix` to fix them, or `npm audit` for details pi@raspberrypi:~/MagicMirror/modules/EXT-Internet $ npm audit fix npm ERR! code EAUDITNOLOCK npm ERR! audit Neither npm-shrinkwrap.json nor package-lock.json found: Cannot audit a project without a lockfile npm ERR! audit Try creating one first with: npm i --package-lock-only npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-09-21T16_53_46_618Z-debug.log
-
@Angel
What commands will i need to make EXT-Internet install properly ?
At the log it says i need to install something manually but to be honest i couldnt.
The mirror finds an error after EXT-Gphotos and loads the default config file and because i have pages it doesnt even open. Please help me get over this. -
try:
cd ~/MagicMirror/modules/EXT-Internet rm -rf package-lock.json node_modules && git config pull.rebase false && git reset --hard && git pull && npm run update
-
@bugsounet said in After Updating EXT-Updatenotifications and EXT-Internet nothing works:
rm -rf package-lock.json node_modules && git config pull.rebase false && git reset --hard && git pull && npm run update
pi@raspberrypi:~/MagicMirror/modules/EXT-Internet $ rm -rf package-lock.json node_modules && git config pull.rebase false && git reset --hard && git pull && npm run update HEAD is now at 3dd8226 add Greek translation Already up to date. > EXT-Internet@1.0.2 update /home/pi/MagicMirror/modules/EXT-Internet > installer/update.sh installer/update.sh: 9: Bad substitution installer/update.sh: 23: source: not found grep: ./package.json: No such file or directory grep: ./package.json: No such file or directory installer/update.sh: 31: Installer_info: not found installer/update.sh: 36: [: Illegal number: installer/update.sh: 42: Installer_info: not found installer/update.sh: 43: Installer_checkOS: not found installer/update.sh: 44: [: unexpected operator installer/update.sh: 49: Installer_success: not found installer/update.sh: 57: Installer_info: not found HEAD is now at 30d5bfe5 Merge pull request #2873 from MichMich/develop hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. installer/update.sh: 63: Installer_info: not found installer/update.sh: 67: Installer_info: not found npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! > magicmirror@2.20.0 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 9 packages in 0.758s found 4 vulnerabilities (1 low, 1 moderate, 2 high) run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.20.0 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror² installation finished successfully! " > magicmirror@2.20.0 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 2 packages in 0.582s found 0 vulnerabilities MagicMirror² installation finished successfully! > magicmirror@2.20.0 prepare /home/pi/MagicMirror > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. husky - Git hooks installed npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 731 packages in 17.855s 82 packages are looking for funding run `npm fund` for details found 5 vulnerabilities (1 low, 2 moderate, 2 high) run `npm audit fix` to fix them, or `npm audit` for details pi@raspberrypi:~/MagicMirror/modules/EXT-Internet $ npm audit fix npm ERR! code EAUDITNOLOCK npm ERR! audit Neither npm-shrinkwrap.json nor package-lock.json found: Cannot audit a project without a lockfile npm ERR! audit Try creating one first with: npm i --package-lock-only npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-09-21T17_07_18_490Z-debug.log
do you think maybe i should npm run rebuild?
-
mouahahah … I found . wait plz
-
npm run rebuild is not an “natural” command. it’s implanted by me
like npm run update … like all npm run commandso can you try this:
cd ~/MagicMirror/modules/EXT-Internet git reset --hard && git pull && rm -rf node_modules package-lock.json npm run update
I have see my error… update script begin with … an empty line
So i have deleted it and naturally update versioning (and date) -
Update… Sorry I have 2 left hand this day…
cd ~/MagicMirror/modules/EXT-Internet git reset --hard && git pull && rm -rf node_modules package-lock.json npm run update
result should be:
bugsounet@bugsounet-Kubuntu:~/MagicMirror/modules/EXT-Internet$ cd ~/MagicMirror/modules/EXT-Internet git reset --hard && git pull && rm -rf node_modules package-lock.json npm run update HEAD is now at 995fe91 correct npm run update Already up to date. > EXT-Internet@1.0.3 update > installer/update.sh Welcome to EXT-Internet v1.0.3 Checking OS... OS Detected: linux-gnu (ubuntu 22.04 x86_64) Updating... HEAD is now at 995fe91 correct npm run update Already up to date. Deleting ALL @bugsounet libraries... Ready for Installing... > EXT-Internet@1.0.3 preinstall > installer/preinstall.sh Welcome to EXT-Internet v1.0.3 No root checking... Checking EXT-Internet: bugsounet/bugsounet Checking MagicMirror: bugsounet/bugsounet Checking OS... OS Detected: linux-gnu (ubuntu 22.04 x86_64) Installing all npm libraries... > EXT-Internet@1.0.3 postinstall > installer/postinstall.sh Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet EXT-Internet is now installed ! added 5 packages, and audited 6 packages in 2s found 0 vulnerabilities bugsounet@bugsounet-Kubuntu:~/MagicMirror/modules/EXT-Internet$
It must be ok now
-
@bugsounet
EXT-Internet is succesfully installed 0 errors!!