MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Black screen withj fresh new MM install

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 570 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      arkabase
      last edited by arkabase

      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 ?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @arkabase
        last edited by

        @arkabase the npm install did not complete… it should

        cd vendor
        npm install
        cd ../fonts
        npm install
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 1
        • A Offline
          arkabase @sdetweil
          last edited by

          @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 install
          

          YES ! Thank you very much, it works fine now :folded_hands_medium-light_skin_tone:

          1 Reply Last reply Reply Quote 1

          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
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy