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.

    config error

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 2 Posters 3.6k Views 2 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
      sdetweil @BandNerd1002
      last edited by

      @BandNerd1002 you should have received errors pointing to the line where the error was detected…

      in generall

      the config section of a module looks like this

      config: {
      string: value,
      .
      .
      .
      }

      where value can be
      true or false
      a number
      or a string in quotes… (either single or double as long as both are the same)

      notice the comma after each value

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        BandNerd1002
        last edited by

        It does not show me where the error is. I thought it would, but it doesn’t. I made sure there was a comma after each value, but it still came up with an error. I checked it and it all looked the same as the other ones with the brackets and whatnot. Any other advice?

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

          @BandNerd1002 ok

          From the mm folder run

          npm config:check
          

          Start w the 1st error and repeat til they go away

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            BandNerd1002
            last edited by

            @sdetweil said in config error:

            npm config:check

            Thank you!

            1 Reply Last reply Reply Quote 0
            • B Offline
              BandNerd1002
              last edited by

              one more question…
              If I go into the MagicMirror files enter into the config files and edit it that way, where do I run the npm config:check?

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

                @BandNerd1002 from the MagicMirror folder ( I call it mm for short)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BandNerd1002
                  last edited by

                  Do I have to do that in the pi terminal?

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

                    @BandNerd1002 no you can use ssh from another machine, or winscp to navigate to the folder and edit from your windows machine and save back…

                    and you can edit while in MagigcMirror , by using the path to the file

                    nano config/config.js

                    for example

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BandNerd1002
                      last edited by

                      so if I run the config:check directly in the config/config.js?

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

                        @BandNerd1002 no… from the MagicMirror folder

                        as I said

                        From the mm folder run

                        npm config:check
                        

                        mm is short for MagicMirror… tired of typing it out all day long

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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