• 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 after changing the modules' order in config

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 3 Posters 814 Views 2 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.
  • N Offline
    Nicole
    last edited by Oct 21, 2021, 10:36 AM

    my MMM-Face-Recognition-SMAI module is unable to appear on the screen once added, while zero error was reported.
    N)U@}K@VA0G~3YADZ}{Y}HD.png
    `5U86T{5QEBI5X1%Y64{{LK.png
    I ran the part indepently and it worked successfully. (able to detect, recognize and send out the user’s name)
    so i tried to change its order in the config.js, and once it was on top of every other modules, none were able to be seen and All I got was black screen.

    What’s wrong? Is it a version problem or something? really confused.

    magicmirror@2.17.1 start /home/pi/MagicMirror
    DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

    [21.10.2021 18:20.16.308] [LOG] Starting MagicMirror: v2.17.1
    [21.10.2021 18:20.16.316] [LOG] Loading config …
    [21.10.2021 18:20.16.323] [LOG] Loading module helpers …
    [21.10.2021 18:20.16.330] [LOG] Initializing new module helper …
    [21.10.2021 18:20.16.331] [LOG] Module helper loaded: MMM-Face-Recognition-SMAI
    [21.10.2021 18:20.16.334] [LOG] No helper found for module: alert.
    [21.10.2021 18:20.16.350] [LOG] Initializing new module helper …
    [21.10.2021 18:20.16.351] [LOG] Module helper loaded: updatenotification
    [21.10.2021 18:20.16.352] [LOG] No helper found for module: clock.
    [21.10.2021 18:20.16.526] [LOG] Initializing new module helper …
    [21.10.2021 18:20.16.527] [LOG] Module helper loaded: calendar
    [21.10.2021 18:20.16.528] [LOG] No helper found for module: compliments.
    [21.10.2021 18:20.16.529] [LOG] No helper found for module: weather.
    [21.10.2021 18:20.16.529] [LOG] All module helpers loaded.
    [21.10.2021 18:20.16.647] [LOG] Starting server on port 8080 …
    [21.10.2021 18:20.16.664] [LOG] Server started …
    [21.10.2021 18:20.16.665] [LOG] Connecting socket for: MMM-Face-Recognition-SMAI
    [21.10.2021 18:20.16.667] [LOG] Connecting socket for: updatenotification
    [21.10.2021 18:20.16.668] [LOG] Connecting socket for: calendar
    [21.10.2021 18:20.16.669] [LOG] Starting node helper for: calendar
    [21.10.2021 18:20.16.669] [LOG] Sockets connected & modules started …
    [21.10.2021 18:20.17.004] [LOG] Launching application.
    [21.10.2021 18:20.18.769] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
    [21.10.2021 18:20.20.212] [INFO] Calendar-Fetcher: Broadcasting 4 events.

    S 1 Reply Last reply Oct 21, 2021, 10:41 AM Reply Quote 0
    • S Offline
      sdetweil @Nicole
      last edited by Oct 21, 2021, 10:41 AM

      @nicole open the developers window, ctrl-shift-i, and select the console tab. scroll up to see any errors usually red text

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nicole
        last edited by Oct 21, 2021, 11:30 AM

        @sdetweil it appears that I have 4 errors but I have no idea how to deal with it:confounded_face:

        Refused to apply style from ‘http://0.0.0.0:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

        loader.js:214 Error on loading stylesheet: css/custom.css

        Uncaught TypeError: Cannot read property ‘appendChild’ of undefined
        at main.js:36
        at Array.forEach ()
        at createDomObjects (main.js:20)
        at Object.modulesStarted (main.js:502)
        at startModules (loader.js:55)
        at loader.js:38
        at HTMLLinkElement.stylesheet.onerror (loader.js:216)

        Refused to apply style from ‘http://0.0.0.0:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
        
        ​

        S 1 Reply Last reply Oct 21, 2021, 11:39 AM Reply Quote 0
        • S Offline
          sdetweil @Nicole
          last edited by Oct 21, 2021, 11:39 AM

          @nicole custom.css messages are because it doesn’t exist by default

          create an empty one by

          touch ~/MagicMirror/css/custom.css
          

          the other error is the problem.

          I would move the reco module to the bottom again.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Oct 21, 2021, 11:42 AM Reply Quote 0
          • N Offline
            Nicole @sdetweil
            last edited by Oct 21, 2021, 11:42 AM

            @sdetweil get it. thank u sooo much!

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by Oct 21, 2021, 12:08 PM

              This post is deleted!
              N 1 Reply Last reply Oct 21, 2021, 12:59 PM Reply Quote 1
              • N Offline
                Nicole @Guest
                last edited by Oct 21, 2021, 12:59 PM

                @hango oh my gosh
                sorry for such stupid mistake:person_facepalming_light_skin_tone:

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  3/7
                  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