A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Blank Black Screen - noob
-
@strawberry-3.141 OK, that was a good tip. So here is a screen shot of the inspect in Midori. It is all Greek to me. Anyone have any ideas?
-
@dslucki you forgot to do npm install in MagicMirror directory
-
@strawberry-3.141 I thought I did that. I ran it again and here is the output
pi@raspberrypi:~/MagicMirror $ npm install npm ERR! Linux 4.4.50+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! path /home/pi/MagicMirror/node_modules/.bin/stylelint npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall unlink npm ERR! Error: EACCES: permission denied, unlink '/home/pi/MagicMirror/node_modules/.bin/stylelint' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, unlink '/home/pi/MagicMirror/node_modules/.bin/stylelint'] npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'unlink', npm ERR! path: '/home/pi/MagicMirror/node_modules/.bin/stylelint' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log
Then I ran it as: sudo npm install
pi@raspberrypi:~/MagicMirror $ sudo npm install npm WARN cannot run in wd magicmirror@2.1.1 cd vendor && npm install (wd=/home/pi/MagicMirror) npm WARN cannot run in wd magicmirror@2.1.1 sh installers/postinstall/postinstall.sh (wd=/home/pi/MagicMirror)
-
@dslucki you dont have the permission to access, you probably did sudo npm install before and so your normal pi user has restricted access to it.
try
npm install --unsafe-perm
-
@strawberry-3.141 SUCCESS! Thanks.
pi@raspberrypi:~/MagicMirror $ sudo npm install --unsafe-perm - > magicmirror@2.1.1 install /home/pi/MagicMirror > cd vendor && npm install npm WARN package.json magicmirror-vendors@ No README data font-awesome@4.7.0 node_modules/font-awesome moment-timezone@0.5.13 node_modules/moment-timezone weathericons@2.1.0 node_modules/weathericons moment@2.18.1 node_modules/moment > magicmirror@2.1.1 postinstall /home/pi/MagicMirror > sh installers/postinstall/postinstall.sh MagicMirror installation successful! pi@raspberrypi:~/MagicMirror $