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

MM only server version working due to issues with config file

Scheduled Pinned Locked Moved Troubleshooting
33 Posts 3 Posters 9.3k 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.
  • S Offline
    sdetweil @legan
    last edited by Dec 29, 2020, 3:24 PM

    @legan eh? take a pic?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    L 2 Replies Last reply Dec 29, 2020, 3:26 PM Reply Quote 0
    • L Offline
      legan @sdetweil
      last edited by Dec 29, 2020, 3:26 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • L Offline
        legan @sdetweil
        last edited by Dec 29, 2020, 3:31 PM

        This post is deleted!
        S 1 Reply Last reply Dec 29, 2020, 3:31 PM Reply Quote 0
        • S Offline
          sdetweil @legan
          last edited by Dec 29, 2020, 3:31 PM

          @legan pic the icon with the sun over the mountain, folded upper right corner

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Dec 29, 2020, 3:33 PM Reply Quote 0
          • L Offline
            legan @sdetweil
            last edited by Dec 29, 2020, 3:33 PM

            @sdetweil Config Error Screenshot.JPG

            S 1 Reply Last reply Dec 29, 2020, 3:46 PM Reply Quote 0
            • S Offline
              sdetweil @legan
              last edited by Dec 29, 2020, 3:46 PM

              @legan weird, can u show results of

              ls ~/MagicMirror/config -laF

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              L 1 Reply Last reply Dec 29, 2020, 3:49 PM Reply Quote 0
              • L Offline
                legan @sdetweil
                last edited by Dec 29, 2020, 3:49 PM

                @sdetweil 1.JPG

                Of course, here you are :)

                S 1 Reply Last reply Dec 29, 2020, 3:51 PM Reply Quote 0
                • S Offline
                  sdetweil @legan
                  last edited by sdetweil Dec 29, 2020, 3:56 PM Dec 29, 2020, 3:51 PM

                  @legan ok, on that error screen, ctrl-shift-i to open the developers window, then select the console tab and scroll up there should be an error at the top…
                  the code does

                  try {
                  			fs.accessSync(configFilename, fs.F_OK);  // make sure we have permission to access file
                  			var c = require(configFilename);    // load and parse config 
                  			checkDeprecatedOptions(c);   
                  			var config = Object.assign(defaults, c);   // overlay defaults with config
                  			callback(config);   // send back the loaded config 
                  		} catch (e) {  // some error above
                  			if (e.code === "ENOENT") {    // if file not found
                  				Log.error(Utils.colors.error("WARNING! Could not find config file. Please create one. Starting with default configuration."));
                  			} else if (e instanceof ReferenceError || e instanceof SyntaxError) {  // got a syntax error
                  				Log.error(Utils.colors.error("WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: " + e.stack));
                  			} else {  // everything else
                  				Log.error(Utils.colors.error("WARNING! Could not load config file. Starting with default configuration. Error found: " + e));    
                  			}
                  			callback(defaults);    // < this is sending back the module config that displays the error you see
                  		}
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    legan
                    last edited by Dec 29, 2020, 4:05 PM

                    @sdetweil thanks you very much! Ok, I opened the developer window as you suggested and attached the screenshots of the errors. Where exactly should I paste your code snippet?2.JPG 3.JPG 4.JPG

                    S 1 Reply Last reply Dec 29, 2020, 4:07 PM Reply Quote 0
                    • S Offline
                      sdetweil @legan
                      last edited by Dec 29, 2020, 4:07 PM

                      @legan I was just showing what the code DOES…

                      custom.css error is because its not there by default…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      L 1 Reply Last reply Dec 29, 2020, 4:10 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        11/33
                        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