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.

    Please commit your changes or stash them before you merge?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    17 Posts 3 Posters 10.5k 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.
    • J Offline
      jefftse @sdetweil
      last edited by

      @sdetweil

      jeff@raspberrypi:~/MagicMirror $ npm run mm-install
      npm ERR! Missing script: “mm-install”
      npm ERR!
      npm ERR! Did you mean one of these?
      npm ERR! npm install # Install a package
      npm ERR! npm uninstall # Remove a package
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run

      npm ERR! A complete log of this run can be found in: /home/jeff/.npm/_logs/2025-01-03T16_14_57_938Z-debug-0.log
      jeff@raspberrypi:~/MagicMirror $

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

        @jefftse nano package.json
        version should be 2.30.0

        "name": "magicmirror",
        	"version": "2.30.0"
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jefftse @sdetweil
          last edited by

          @sdetweil

          i’m confused. it is showing “2.30.0”

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

            @jefftse and further down

            "scripts": {
            		"config:check": "node js/check_config.js",
            		"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
            		"install-mm": "npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev",
            		"install-mm:dev": "npm install --no-audit --no-fund --no-update-notifier",
            		"install-vendor": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
            

            doah… my mistake…

            npm run install-mm
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 3 Replies Last reply Reply Quote 0
            • J Offline
              jefftse @sdetweil
              last edited by

              @sdetweil

              That’s exactly what I have

              1 Reply Last reply Reply Quote 0
              • J Offline
                jefftse @sdetweil
                last edited by

                @sdetweil

                jeff@raspberrypi:~/MagicMirror $ git checkout package.json
                Updated 0 paths from the index

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jefftse @sdetweil
                  last edited by

                  @sdetweil

                  jeff@raspberrypi:~/MagicMirror $ git pull && npm run install-mm
                  Already up to date.

                  magicmirror@2.30.0 install-mm
                  npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev

                  npm ERR! code EBADENGINE
                  npm ERR! engine Unsupported engine
                  npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.30.0
                  npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.30.0
                  npm ERR! notsup Required: {“node”:“>=20.18.1 <21 || >=22”}
                  npm ERR! notsup Actual: {“npm”:“10.1.0”,“node”:“v20.9.0”}

                  npm ERR! A complete log of this run can be found in: /home/jeff/.npm/_logs/2025-01-03T16_52_04_066Z-debug-0.log

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

                    @jefftse ok short path

                    sudo npm install n -g 
                    sudo n 20.18.1
                    cd ~/MagicMirror
                    npm run install-mm
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jefftse @sdetweil
                      last edited by

                      @sdetweil

                      I think that did the trick

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

                        @jefftse ok!!!

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • S sdetweil has marked this topic as solved on

                        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