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

updated to new build, config ruined...

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 4 Posters 2.6k Views 4 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.
  • Y Offline
    ytroch
    last edited by Apr 16, 2017, 11:09 PM

    so it seems i was running a couple of builds behind (about 200), and now my config doesn’t seem to workd anymore. (i did mess with it in the meantime, so possibly made it worse)
    It could be the insomnia, but i really can’t see what i’m doing wrong.
    if anyone would be willing to take a look, that would be awesome.
    I have a pastebin here: (with some fake calendars/locations for privacy reasons ofc.)
    https://pastebin.com/z0PhAu0x

    I keep getting greeted by the black screen, or the one telling me to create a config file :(

    sorry if i’m posting in the wrong section.

    D 1 Reply Last reply Apr 16, 2017, 11:48 PM Reply Quote 0
    • D Offline
      davidnesbitt7 @ytroch
      last edited by davidnesbitt7 Apr 16, 2017, 11:50 PM Apr 16, 2017, 11:48 PM

      @ytroch I think it’s this section at the bottom that’s missing

      if (typeof module !== "undefined") {module.exports = config;}
      

      Have a look at the sample one here https://github.com/MichMich/MagicMirror/blob/master/config/config.js.sample

      Do. Or do not. There is no try

      1 Reply Last reply Reply Quote 0
      • Y Offline
        ytroch
        last edited by Apr 16, 2017, 11:56 PM

        Thanks for the answer, now i’ve got that added:
        https://pastebin.com/zVSsuMYg

        But greeted with te “create a config” again.
        thanks for helping though, maybe taking a nap will help :)

        M 1 Reply Last reply Apr 17, 2017, 12:16 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @ytroch
          last edited by Mykle1 Apr 17, 2017, 12:18 AM Apr 17, 2017, 12:16 AM

          @ytroch said in updated to new build, config ruined...:

          But greeted with te “create a config” again.

          There’s not much to your config to begin with, meaning you don’t have a lot of entries. If I were you, instead of trying to troubleshoot your existing config, I’d rename the config you have now, make a copy of the sample config and rename that to config.js, and just add the few entries you have. You don’t even have any 3rd party modules to deal with. You’ll be golden in 10 minutes.

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • Y Offline
            yawns Moderator
            last edited by Apr 17, 2017, 6:01 AM

            The last newsfeed entry “wired” is not enclosed by { }

            Y 1 Reply Last reply Apr 17, 2017, 6:26 AM Reply Quote 0
            • Y Offline
              ytroch @yawns
              last edited by Apr 17, 2017, 6:26 AM

              @yawns
              Thanks, but still the same problem.

              @Mykle1
              I think that will indeed be the way to go… retrying now.

              1 Reply Last reply Reply Quote 0
              • Y Offline
                ytroch
                last edited by ytroch Apr 17, 2017, 8:18 AM Apr 17, 2017, 7:55 AM

                ok,

                Started over in what should be an easy config, putting it through jslint gives me a single error:

                Nevermind, fixed :)

                Thanks .

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