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

installation of modules

Scheduled Pinned Locked Moved Solved Troubleshooting
20 Posts 3 Posters 1.3k Views 3 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 @pat59
    last edited by sdetweil Feb 10, 2025, 7:28 PM Feb 10, 2025, 7:27 PM

    @pat59 in the MagicMirror folder

    npm run config:check

    in 2.30 the config check function runs on every start and MagicMirror will fail to start now if there is a problem

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    B 1 Reply Last reply Feb 10, 2025, 7:45 PM Reply Quote 0
    • B Offline
      BKeyport Module Developer @sdetweil
      last edited by Feb 10, 2025, 7:45 PM

      @sdetweil indeed it does that, but I believe this may be the wrong approach.

      No matter what, MM should start, IMO. In the case of config error, could we get an error screen like above, except for have it show the output of config checker?

      This would help in server/client environments like mine, or PM2 or any number of scenarios where the logs may not be in the right spot.

      The "E" in "Javascript" stands for "Easy"

      S 1 Reply Last reply Feb 10, 2025, 9:28 PM Reply Quote 0
      • S Offline
        sdetweil @BKeyport
        last edited by sdetweil Feb 10, 2025, 9:54 PM Feb 10, 2025, 9:28 PM

        @BKeyport we decided that starting with the wrong config is not helpful,

        and best practice says you would use manual start, after making changes, to validate the change, before restarting w pm2

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @BKeyport unfortunately because the config is broken, we cannot use any ok it

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            pat59
            last edited by Feb 11, 2025, 4:51 AM

            Good morning
            I don’t really understand what I should do?

            S 1 Reply Last reply Feb 11, 2025, 4:53 AM Reply Quote 0
            • S Offline
              sdetweil @pat59
              last edited by Feb 11, 2025, 4:53 AM

              @pat59
              cd ~/MagicMirror
              npm run config:check

              find the line number and look at the lines of config.js
              around there for the error

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                pat59
                last edited by Feb 11, 2025, 6:41 AM

                thank you, this is what it gives cordially

                20250211_073515.jpg 20250211_073504.jpg

                S 1 Reply Last reply Feb 11, 2025, 1:34 PM Reply Quote 0
                • S Offline
                  sdetweil @pat59
                  last edited by Feb 11, 2025, 1:34 PM

                  @pat59 youve got a space between config and check

                  config:check

                  in package.json script section are all the npm commands MagicMirror suppports

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pat59
                    last edited by Feb 11, 2025, 4:24 PM

                    merci if I understand I have to look at line 270 and a syntax error20250211_163840.jpg image.jpg

                    S 1 Reply Last reply Feb 11, 2025, 4:32 PM Reply Quote 0
                    • S Offline
                      sdetweil @pat59
                      last edited by Feb 11, 2025, 4:32 PM

                      @pat59 correct, if you do all this over ssh instead of vnc you can copy the text, instead of screen shot. very hard to read

                      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
                      1 / 2
                      • First post
                        6/20
                        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