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.9k 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.
    • D Offline
      davidnesbitt7 @ytroch
      last edited by davidnesbitt7

      @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

        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 :)

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @ytroch
          last edited by Mykle1

          @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
          • yawnsY Offline
            yawns Moderator
            last edited by

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

            Y 1 Reply Last reply Reply Quote 0
            • Y Offline
              ytroch @yawns
              last edited by

              @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

                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
                • First post
                  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