A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-Button white screen
-
@Babene1 try this
cd ~/MagicMirror/modules/MMM-Button
sudo npm rebuild --runtime=electron --target=1.4.6 --disturl=https://atom.io/download/atom-shell --abi=50 -
now it woks, thank you very much.
Have I made a mistake here?
Or what is the reason? -
I have the same problem. I did perform “nmp install” and “npm install onoff” in the MMM-Button folder.
And the fix from Nonamexp. But the screen after a reboot is white. :-(pi@raspberrypi:~ $ tail -f /home/pi/.pm2/logs/mm-error-0.log at Error (native) at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:168:20) at Object.Module._extensions..node (module.js:583:18) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:168:20) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at bindings (/home/pi/MagicMirror/modules/MMM-Button/node_modules/bindings/bindings.js:76:44)
-
@FlorianRD after The Update do you have the raspberry pi restart?
-
Yes, even many times.
-
This post is deleted! -
This post is deleted! -
He guys. Another error log after raspberry startup. Maybe helps?
pi@raspberrypi:~ $ npm start dev npm ERR! Linux 4.4.26-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "dev" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! path /home/pi/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent npm ERR! Please include the following file with any support request: npm ERR! /home/pi/npm-debug.log
-
@FlorianRD
you are in the wrong directory.cd MagicMirror npm start dev
-
Okay, next try…
npm ERR! Linux 4.4.26-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "dev" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code ELIFECYCLE npm ERR! magicmirror@2.0.0 start: `electron js/electron.js "dev"` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.0.0 start script 'electron js/electron.js "dev"'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the magicmirror package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron js/electron.js "dev" npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs magicmirror npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls magicmirror npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log