Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Black screen withj fresh new MM install

    Troubleshooting
    2
    3
    36
    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
      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
        sdetweil @arkabase last edited by

        @arkabase the npm install did not complete… it should

        cd vendor
        npm install
        cd ../fonts
        npm install
        
        A 1 Reply Last reply Reply Quote 1
        • A
          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 🙏🏼

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy