• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 474 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 Jul 16, 2020, 9:56 AM Jul 16, 2020, 9:54 AM

    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 Jul 16, 2020, 11:56 AM Reply Quote 0
    • S Offline
      sdetweil @arkabase
      last edited by Jul 16, 2020, 11:56 AM

      @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 Jul 16, 2020, 4:31 PM Reply Quote 1
      • A Offline
        arkabase @sdetweil
        last edited by Jul 16, 2020, 4:31 PM

        @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
        • 1 / 1
        1 / 1
        • First post
          1/3
          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