Read the statement by Michael Teeuw here.
MagicMirror v2.1.0 Update error
-
Hi all,
After update my MM and want to open the mm via http://ip:8080 i get a blank Black screen. It comes on Win10 and also Android with Chrome.
The Majorfailure is, the rpi stop working. So i can only disconnect the power and connect again.
Has anybody else this issue?
Regals
Daniel -
No, not such a major issue with the pi.
Can you access your pi with ssh?
Take a look at
https://forum.magicmirror.builders/topic/1326/ipwhitelist-howto/
-
At the Moment it works. I have update and dist-upgrade the rpi. Thanks for helping.
-
Hi, after update
pi@raspberrypi:~ sudo git pull
…my MM does not start anymore, so i tried from terminal and getting this error:
*pi@raspberrypi:~ $ ./mm.sh
>magicmirror@2.1.0 start /home/pi/MagicMirror
>electron js/electron.jsApp 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:16)
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:16)
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)* -
@teandryk
Please runnpm install
in the main MagicMirror folder -
I think, i Set up a New raspian with New Installation of mm. This update was Not a good idea…
-
@yawns I did and thats what i got now :)
pi@raspberrypi:~/MagicMirror $ npm install \ \> electron@1.4.13 postinstall /home/pi/MagicMirror/node_modules/electron \> node install.js \> electron-prebuilt@1.4.13 postinstall /home/pi/MagicMirror/node_modules/electron-prebuilt \> node install.js npm WARN unmet dependency /home/pi/MagicMirror/node_modules/grunt-eslint/node_modules/eslint/node_modules/escope/node_modules/esrecurse requires estraverse@'~4.1.0' but will load npm WARN unmet dependency /home/pi/MagicMirror/node_modules/grunt-eslint/node_modules/eslint/node_modules/estraverse, npm WARN unmet dependency which is version 4.2.0 npm ERR! Linux 4.4.21-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.3.2 npm ERR! npm v2.14.12 npm ERR! code EPEERINVALID npm ERR! peerinvalid The package grunt@1.0.1 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer grunt-yamllint@0.2.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-eslint@19.0.0 wants grunt@>=0.4.0 npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log
-
@teandryk I too had this problem earlier today. I solved it by navigating to /node_modules/electron
and run “sudo node install.js”. Have some patience - it took a loooong time. I ended up leaving it and went to do something else. When I got back half an hour later it was done and the mirror was running.Hope it helps. Good luck :-)
-
@arosenhave
It worked and even didnt took a split sec :)thanks !!!
-
@teandryk @arosenhave Hello, I have run into the same issue wanting to install the magic mirror² framework on my windows laptop to develop a module. Running sudo node install.js from my powershell or from a node.js prompt did nothing to solve my problem. As far as I gathered, the issue come from this 2 not-updated packages that MagicMiror is using : https://github.com/geedew/grunt-yamllint/blob/master/package.json and the one called grunt-eslint. Both did not update their package.json (and maybe code) as the grunt developpers asked : http://gruntjs.com/blog/2016-04-04-grunt-1.0.0-released#peer-dependencies . Here is a topic on a forum surrounding that updating issue. However I am uncertain about what to do right now to solve it since the raspeberry pi environment and a laptop are not similar.