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.

    Back to Booting to black

    Scheduled Pinned Locked Moved Solved Troubleshooting
    13 Posts 2 Posters 4.3k 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 Do not disturb
      sdetweil @dwleo
      last edited by

      @dwleo well, you have to be IN the MM folder

      cd MagicMirror
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dwleo @sdetweil
        last edited by

        @sdetweil
        WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘moment-timezone’

        D S 2 Replies Last reply Reply Quote 0
        • D Offline
          dwleo @dwleo
          last edited by

          Sometimes I feel like a real noob. Anyway the config.js file is there right where it always has been.

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

            @dwleo

            from the MM folder run

            node tests/configs/check_config.js
            

            and work thru the errors from top to bottom

            rerunning as needed

            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 @dwleo
              last edited by sdetweil

              @dwleo yes, but there is a syntax error from all the editing you have done

              make a rule,

              1 change at a time,
              AND save the working config.js before u edit

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                dwleo @sdetweil
                last edited by

                @sdetweil
                Yeah, you are right. (sigh)
                Anyway I ran it and got this:
                pi@raspberrypi:~/MagicMirror $ node tests/configs/check_config.js
                Checking file… /home/pi/MagicMirror/config/config.js
                Your configuration file doesn’t contain syntax errors :)

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

                  @dwleo ok, then you have a module name wrong, or u deleted it

                  Cannot find module ‘moment-timezone’

                  OR, you installed a module, but didn’t finish ITS install, by going to ITS folder and running npm install

                  when a module uses other modules, (some not used by base MM), you have to do a manual step to install ITS dependencies

                  so, I would look thru the modules u might have just installed, and edit the package.json file in each and look for moment-timezone… if its there, then u probably need to run npm install in that folder

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 2 Replies Last reply Reply Quote 1
                  • D Offline
                    dwleo @sdetweil
                    last edited by

                    @sdetweil
                    Thank you. I will try that.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dwleo @sdetweil
                      last edited by

                      @sdetweil
                      Hurray!
                      That did it. I must have used my ‘fat fingers’ when in the MMM-NHL file.
                      Thanks so much!

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

                        @dwleo no problem… thanks for letting us know… the system is sensitive in certain spots!

                        can u mark your issue resolved?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • 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