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.

    Problems with my Config file

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 4 Posters 3.0k 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.
    • E Offline
      EdO
      last edited by

      What kind of problem are you having? Have you run:

      npm run config:check

      to see if there are any syntax errors?

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        Omensch
        last edited by

        well I don’t know what this really means.
        do you have an idea?

        pi@raspberrypi:~ $ npm run config:check
        npm ERR! Linux 4.4.50-v7+
        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "config:check"
        npm ERR! node v6.17.1
        npm ERR! npm  v3.10.10
        npm ERR! path /home/pi/package.json
        npm ERR! code ENOENT
        npm ERR! errno -2
        npm ERR! syscall open
        
        npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm ERR! enoent This is most likely not a problem with npm itself
        npm ERR! enoent and is related to npm not being able to find a file.
        npm ERR! enoent
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /home/pi/npm-debug.log
        
        S 1 Reply Last reply Reply Quote 0
        • O Offline
          Omensch @EdO
          last edited by Omensch

          @EdO my problem is that when I run MM, it sais: please create config file

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Omensch
            last edited by

            @Omensch please, run that in the MagicMirror folder

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @Omensch
              last edited by

              @Omensch I ran config:check and don’t see any errors…

              what problem are u having?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • E Offline
                EdO
                last edited by

                I’m not seeing anything jump out at me though I’m not familiar with all of your modules. If the config:check doesn’t show any errors, then you need to go through each module definition to make sure it is correct.

                You can go through each one checking the documentation as you go or you can do what I’ve done. When I ran into a similar problem I commented out every module except one. Then one at a time I restarted MM to see if that module was defined properly until I found the offending module. Once you know the one that is causing problems, you will need to pull up the documentation for it to find out what is wrong.

                When you find the offending module, now you need to check to see what is wrong with that module definition. Chances are it’s a parameter that is misspelled or not applicable or specified incorrectly.

                O 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Omensch
                  last edited by sdetweil

                  @Omensch also, how did u do the setup of MagicMirror?

                  Manually, or with my automated install script?
                  From here
                  https://github.com/sdetweil/MagicMirror_scripts

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  O 1 Reply Last reply Reply Quote 0
                  • O Offline
                    Omensch @EdO
                    last edited by

                    @EdO thanks I’ll try that

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      Omensch @sdetweil
                      last edited by

                      @sdetweil with the command from the website of MagicMirror

                      S Mykle1M 2 Replies Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @Omensch
                        last edited by

                        @Omensch the old installer?

                        try the new one, rename the MagicMirror folder out of the way
                        then execute this from a terminal window or ssh session

                        bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
                        

                        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