Read the statement by Michael Teeuw here.
Black screen withj fresh new MM install
-
Hi,
I just installed MM on a new RPI3 Raspbian and all I can see is a black screen.PM2 log shows no error :
> magicmirror@2.12.0 start /var/local/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [LOG] Starting MagicMirror: v2.12.0 [...] [LOG] Loading config ... [...] [LOG] Loading module helpers ... [...] [LOG] No helper found for module: alert. [...] [LOG] Initializing new module helper ... [...] [LOG] Module helper loaded: updatenotification [...] [LOG] No helper found for module: clock. [...] [LOG] Initializing new module helper ... [...] [LOG] Module helper loaded: calendar [...] [LOG] No helper found for module: compliments. [...] [LOG] No helper found for module: currentweather. [...] [LOG] No helper found for module: weatherforecast. [...] [LOG] Initializing new module helper ... [...] [LOG] Module helper loaded: newsfeed [...] [LOG] All module helpers loaded. [...] [LOG] Starting server on port 8080 ... [...] [LOG] Server started ... [...] [LOG] Connecting socket for: updatenotification [...] [LOG] Connecting socket for: calendar [...] [LOG] Starting node helper for: calendar [...] [LOG] Connecting socket for: newsfeed [...] [LOG] Starting node helper for: newsfeed [...] [LOG] Sockets connected & modules started ... [...] [LOG] Launching application.I tried to connect from a chrome browser on my PC, and see the same black screen.
Browser console shows many errors :GET http://[IP:PORT]/vendor/node_modules/nunjucks/browser/nunjucks.min.js net::ERR_ABORTED 404 (Not Found) ... Refused to apply style from 'http://[IP:PORT]/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. ... Refused to apply style from 'http://[IP:PORT]/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. ... GET http://[IP:PORT]/vendor/node_modules/moment/min/moment-with-locales.js net::ERR_ABORTED 404 (Not Found) ... GET http://[IP:PORT]/vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js net::ERR_ABORTED 404 (Not Found) ... GET http://[IP:PORT]/vendor/node_modules/suncalc/suncalc.js net::ERR_ABORTED 404 (Not Found) ... Refused to apply style from 'http://[IP:PORT]/vendor/node_modules/weathericons/css/weather-icons.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. ... Refused to apply style from 'http://[IP:PORT]/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. ... Uncaught ReferenceError: moment is not defined ...It happens that there is no folder vendor/node_modules !
I followed the default install documentation : install node 10, git clone MM, npm install, pm2 autostart script.
Did I forgot something ? -
@arkabase the npm install did not complete… it should
cd vendor npm install cd ../fonts npm install -
@sdetweil said in Black screen withj fresh new MM install:
@arkabase the npm install did not complete… it should
cd vendor npm install cd ../fonts npm installYES ! Thank you very much, it works fine now :folded_hands_medium-light_skin_tone:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login