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

Problems with my Config file

Scheduled Pinned Locked Moved Unsolved Troubleshooting
12 Posts 4 Posters 2.1k 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.
  • O Offline
    Omensch
    last edited by Feb 10, 2020, 9:34 PM

    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 Feb 10, 2020, 9:59 PM Reply Quote 0
    • O Offline
      Omensch @EdO
      last edited by Omensch Feb 10, 2020, 9:36 PM Feb 10, 2020, 9:36 PM

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

      S 1 Reply Last reply Feb 10, 2020, 9:51 PM Reply Quote 0
      • S Offline
        sdetweil @Omensch
        last edited by Feb 10, 2020, 9:51 PM

        @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 Offline
          sdetweil @Omensch
          last edited by Feb 10, 2020, 9:59 PM

          @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 Feb 11, 2020, 2:57 AM

            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 Feb 11, 2020, 7:04 PM Reply Quote 0
            • S Offline
              sdetweil @Omensch
              last edited by sdetweil Feb 11, 2020, 4:11 AM Feb 11, 2020, 4:10 AM

              @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 Feb 11, 2020, 7:10 PM Reply Quote 0
              • O Offline
                Omensch @EdO
                last edited by Feb 11, 2020, 7:04 PM

                @EdO thanks I’ll try that

                1 Reply Last reply Reply Quote 0
                • O Offline
                  Omensch @sdetweil
                  last edited by Feb 11, 2020, 7:10 PM

                  @sdetweil with the command from the website of MagicMirror

                  S M 2 Replies Last reply Feb 11, 2020, 7:16 PM Reply Quote 0
                  • S Offline
                    sdetweil @Omensch
                    last edited by Feb 11, 2020, 7:16 PM

                    @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
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @Omensch
                      last edited by Feb 11, 2020, 10:12 PM

                      @Omensch

                      Save yourself a lot of time and trouble and follow @sdetweil’s suggestion.

                      Create a working config
                      How to add modules

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