Navigation

    MagicMirror Forum

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

    UNSOLVED Issues with config file

    Troubleshooting
    3
    7
    717
    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
      smalluk last edited by

      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 Mykle1 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @smalluk last edited by sdetweil

        @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

        S 1 Reply Last reply Reply Quote 0
        • Mykle1
          Mykle1 Project Sponsor Module Developer @smalluk last edited by

          @smalluk

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

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

          1 Reply Last reply Reply Quote 0
          • S
            smalluk last edited by

            Thanks both! I’ll take a look this evening

            1 Reply Last reply Reply Quote 0
            • S
              smalluk @sdetweil last edited by smalluk

              @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 Reply Quote 0
              • S
                smalluk last edited by

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

                1 Reply Last reply Reply Quote -1
                • S
                  sdetweil @smalluk last edited by sdetweil

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

                  npm config:check
                  
                  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