Read the statement by Michael Teeuw here.
Updated to 2.17 but MM not launching
-
Instead, I have a window labeled Electron running with nothing displayed. I did a git pull && npm install to do the update and had to remove both instances of package-lock.json (in the root MM folder and in the vendor subfolder) to do the update and I don’t remember modifying those. Is there some additional steps I need to do to make Electron behave?
-
Try using Sam scripts
-
@swvalenti thx…
@Wenike also not listed (ever) on the MM site
for every module that has a package.json file do npm install
note that its possible that IF you had to add request back in on 2.16, it will be gone on 2.17 again
NOTE : because u already did the ‘ugrade’, you will need to use force instead of apply on the upgrade script
-
Hi, need help too
i have installed the update and when i start the mirror …
[02.10.2021 10:25.40.721] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' Require stack: - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js - /Users/patrickhahn/MagicMirror/js/app.js - /Users/patrickhahn/MagicMirror/js/electron.js - /Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js - [02.10.2021 10:25.40.722] [LOG] Loading module helpers ... [02.10.2021 10:25.40.722] [LOG] No helper found for module: alert. [02.10.2021 10:25.40.722] [LOG] Initializing new module helper ... [02.10.2021 10:25.40.723] [LOG] Module helper loaded: MMM-Remote-Control [02.10.2021 10:25.40.723] [LOG] Initializing new module helper ... [02.10.2021 10:25.40.723] [LOG] Module helper loaded: updatenotification [02.10.2021 10:25.40.723] [LOG] No helper found for module: MMM-Snow. [02.10.2021 10:25.40.723] [LOG] No helper found for module: MMM-WordClock. [02.10.2021 10:25.40.723] [LOG] No helper found for module: clock. [02.10.2021 10:25.40.723] [LOG] No helper found for module: calendar_monthly. [02.10.2021 10:25.40.723] [LOG] Initializing new module helper ... [02.10.2021 10:25.40.723] [LOG] Module helper loaded: calendar [02.10.2021 10:25.40.725] [ERROR] App threw an error during load [02.10.2021 10:25.40.726] [ERROR] Error: Cannot find module 'request' Require stack: - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js - /Users/patrickhahn/MagicMirror/js/app.js - /Users/patrickhahn/MagicMirror/js/electron.js - /Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/Users/patrickhahn/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) [02.10.2021 10:25.40.726] [ERROR] Whoops! There was an uncaught exception... [02.10.2021 10:25.40.729] [ERROR] Error: Cannot find module 'request' Require stack: - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js - /Users/patrickhahn/MagicMirror/js/app.js - /Users/patrickhahn/MagicMirror/js/electron.js - /Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/Users/patrickhahn/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js', '/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js', '/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js', '/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js', '/Users/patrickhahn/MagicMirror/js/app.js', '/Users/patrickhahn/MagicMirror/js/electron.js', '/Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js', undefined ] }
thanks for helping
-
@stoffbeuteluwe said in Updated to 2.17 but MM not launching:
Cannot find module ‘request’
same problem for the last few months. and last release
see
https://forum.magicmirror.builders/topic/15666/add-request-to-modules
-
Happens to me to.
MMM-SystemStats stops MM from working. reinstall and everything are not working so i had to quit using both MMM-SystemStats Modules.
-
@oberfragger did u look for the errors to decide what to do?
-
@sdetweil Uuups.
Sorry for the “short” information. I did´nt realised that i sent the topic.Both “MMM-SystemStats” seems to unmantained and both are stopping MM from starting. I just uncommented them in the config.js and openend an issue.
/home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | at require (internal/modules/cjs/helpers.js:88:18) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-SystemS tats/node_helper.js:13:15) 0|mm | at Module._compile (internal/modules/cjs/loader.js:1078:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.j s:1108:10) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js', 0|mm | '/home/pi/MagicMirror/node_modules/electron/dist/resources/defa ult_app.asar/main.js', 0|mm | undefined 0|mm | ] 0|mm | } 0|mm | [04.10.2021 13:13.47.982] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | [04.10.2021 13:13.47.982] [ERROR] If you think this really is an is sue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/iss ues
I dont have any clus what i cloud do more.
-
@oberfragger it says module not found
we deleted a bunch of older libraries because one was discontinued (deprecated) due to a security problem not going to be fixed
many mm modules used them but didn’t document the usage. oops
I don’t see the name of the library
but looking at the node_helper.js shows
require('request')
which is the trouble lib
u can add it back for this module , do
npm init -y npm install request -- save
-