MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED updated to new build, config ruined...

    Troubleshooting
    4
    7
    2017
    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
      ytroch last edited by

      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 Reply Quote 0
      • D
        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
          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 🙂

          Mykle1 1 Reply Last reply Reply Quote 0
          • Mykle1
            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
            • yawns
              yawns Moderator last edited by

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

              Y 1 Reply Last reply Reply Quote 0
              • Y
                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
                  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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy