Read the statement by Michael Teeuw here.
Update Broke it good?
-
So, I was trying to load my office365 calendar, and it wouldn’t load. Searches led me to believe it was fixed in an update. Sure enough, I hadn’t updated, ever. Started this over a year ago. So I decided to ‘git pull’ and try to launch mirror again. Now it won’t start at all. I get the below.
Any ideas? Im not that smart really.
> magicmirror@2.3.1 start /home/pi/MagicMirror > sh run-start.sh App threw an error during load Error: Cannot find module 'express-ipfilter' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/pi/MagicMirror/js/server.js:13:43) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) A JavaScript error occurred in the main process Uncaught Exception: Error: Cannot find module 'express-ipfilter' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/pi/MagicMirror/js/server.js:13:43) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12)
-
LOL that would explain a lot. helps to install what you’ve downloaded I suppose. Newb of the day? – Thanks!!! I was install each piece off the error message e.g., npm install express-iptables, npm install handle etc etc
-
You need to run
npm install
in main MagicMirror folder after git pull -
LOL that would explain a lot. helps to install what you’ve downloaded I suppose. Newb of the day? – Thanks!!! I was install each piece off the error message e.g., npm install express-iptables, npm install handle etc etc
-
So I went with what I thought I knew.
Followed the instructions listed here:
https://stackoverflow.com/questions/42741243/how-do-you-install-newest-version-of-node-js-on-raspberry-piand now I get the below :-(
Any ideas?
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:9:9) at Module._compile (internal/modules/cjs/loader.js:678:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10) at Module.load (internal/modules/cjs/loader.js:589:32) at tryModuleLoad (internal/modules/cjs/loader.js:528:12) at Function.Module._load (internal/modules/cjs/loader.js:520:3) at Module.require (internal/modules/cjs/loader.js:626:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) at Module._compile (internal/modules/cjs/loader.js:678:30) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.3.1 start: `sh run-start.sh` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.3.1 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-05-09T16_16_54_422Z-debug.log
-
This post is deleted!