• 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.

Problems loading config resources

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 460 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.
  • E Offline
    Envynot
    last edited by Dec 22, 2020, 12:48 AM

    Not very good with software so bear with me here. The issue I’m having comes after I’ve installed MagicMirror when I go to run the program; I’m met with a black screen. When I npm start dev I can see in the console that the config file has several errors:
    “Failed to load resource: the server responded with a status of 404 (not found)”,
    “Refused to apply style from ‘’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.”,
    “error on loading stylesheet: vendor/css/font-awesome.css”.
    etc.

    There are are about 15 of these errors and I have no clue how to troubleshoot this. I have already tried removing the MagicMirror folder completely and reinstalling from scratch. I’m guessing the issue has to do with a problem in the config file. So I tried renaming config.js.sample to config.js, didn’t work. Also tried copying config.js.sample and renaming the copy, didn’t work. When I start the program with just the config.js.sample instead of being met with a black screen I am met with several lines of text that say “undefined”. Let me know if there is another way to give more information so I get to the bottom of this problem! I need this project done before Christmas because it’s a gift!

    S 1 Reply Last reply Dec 22, 2020, 12:58 AM Reply Quote 0
    • S Offline
      sdetweil @Envynot
      last edited by Dec 22, 2020, 12:58 AM

      @Envynot sounds like you are running on windows…
      .
      two extra steps

      cd MagicMirror 
      cd vendor
      npm install
      cd ..
      cd fonts
      npm install
      cd ..
      

      now u can start mm again

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 2
      • E Offline
        Envynot
        last edited by Dec 22, 2020, 1:01 AM

        @sdetweil said in Problems loading config resources:

        @Envynot sounds like you are running on windows…
        .
        two extra steps

        cd MagicMirror 
        cd vendor
        npm install
        cd ..
        cd fonts
        npm install
        cd ..
        

        now u can start mm again

        Ah my guy. You are a saint. Thank you so much! Happy holidays!

        1 Reply Last reply Reply Quote 0
        • 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