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

Issues with config file

Scheduled Pinned Locked Moved Unsolved Troubleshooting
7 Posts 3 Posters 1.4k 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
    smalluk
    last edited by May 28, 2019, 9:37 PM

    I have managed to install the MagicMirror app and have it working. I have managed to alter the weather to my village and the news to a different source.

    The issue is when I try a new module completely. It seems to corrupt my config file… “please create a config file” error. I restore a backup and it works again.

    I have tried using sites to check my code and they seem to be fine. I’ve used the exact code as in Readme files for the modules and still the same error.

    I have tried a few different modules and the same issue.

    I think I might be missing some dependency or something similar.

    What would you need to help me troubleshoot this?

    S M 2 Replies Last reply May 28, 2019, 10:05 PM Reply Quote 0
    • S Offline
      sdetweil @smalluk
      last edited by sdetweil May 31, 2019, 12:59 PM May 28, 2019, 10:05 PM

      @smalluk from the magic mirror folder do

      npm config:check
      

      Fix first error reported, run again

      Repeat.

      All braces and brackets must be matched, all lines should end in a comma

      Text to the right of : must be in quotes
      Numbers or true/false not in quotes

      Look at the original for examples

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply May 30, 2019, 10:08 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @smalluk
        last edited by May 28, 2019, 11:02 PM

        @smalluk

        This should help you. It’s an easy read.

        https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • S Offline
          smalluk
          last edited by May 29, 2019, 7:34 AM

          Thanks both! I’ll take a look this evening

          1 Reply Last reply Reply Quote 0
          • S Offline
            smalluk @sdetweil
            last edited by smalluk May 30, 2019, 10:09 AM May 30, 2019, 10:08 AM

            @sdetweil tried this and got the following, seems check isnt a valid command

            NPM check

            I tried running npm i npm-check and still the same

            S 1 Reply Last reply May 30, 2019, 12:17 PM Reply Quote 0
            • S Offline
              smalluk
              last edited by May 30, 2019, 10:55 AM

              Solved my issue with the module! Hadn’t copied to the module folder!

              1 Reply Last reply Reply Quote -1
              • S Offline
                sdetweil @smalluk
                last edited by sdetweil May 31, 2019, 12:57 PM May 30, 2019, 12:17 PM

                @smalluk opps. sorry there is no space between those two

                npm config:check
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                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