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.

    Mirror not starting after update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    33 Posts 4 Posters 6.8k 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.
    • C Offline
      chrisfr1976 @sdetweil
      last edited by

      @sdetweil

      Now I have:

      node -v
      v22.9.0
      

      And when starting with pm2 I get 2 errors. Fist is directly im PM2:

      chris@MagicPi:~ $ pm2 start mm
      (node:3915) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
      (Use `node --trace-deprecation ...` to show where the warning was created)
      [PM2] Applying action restartProcessId on app [mm](ids: [ 0 ])
      [PM2] [mm](0) ✓
      [PM2] Process successfully started
      ┌────┬───────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name              │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
      ├────┼───────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
      │ 1  │ Display_Drehen    │ default     │ N/A     │ fork    │ 3913     │ 2s     │ 26   │ online    │ 0%       │ 1.8mb    │ chris    │ disabled │
      │ 0  │ mm                │ default     │ N/A     │ fork    │ 3922     │ 0s     │ 1    │ online    │ 0%       │ 1.8mb    │ chris    │ disabled │
      └────┴───────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
      
      

      Second with “pm2 log mm”:

      0|mm  | > magicmirror@2.29.0 start
      0|mm  | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|mm  | App threw an error during load
      0|mm  | Error: Cannot find module 'logger'
      0|mm  | Require stack:
      0|mm  | - /home/chris/MagicMirror/js/app.js
      0|mm  | - /home/chris/MagicMirror/js/electron.js
      0|mm  |     at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
      0|mm  |     at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
      0|mm  |     at Module._resolveFilename (/home/chris/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm  |     at Module._load (node:internal/modules/cjs/loader:1058:27)
      0|mm  |     at c._load (node:electron/js2c/node_init:2:17025)
      0|mm  |     at Module.require (node:internal/modules/cjs/loader:1318:19)
      0|mm  |     at require (node:internal/modules/helpers:179:18)
      0|mm  |     at Object.<anonymous> (/home/chris/MagicMirror/js/app.js:7:13)
      0|mm  |     at Module._compile (node:internal/modules/cjs/loader:1484:14)
      0|mm  |     at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
      0|mm  |     at Module.load (node:internal/modules/cjs/loader:1295:32)
      0|mm  |     at Module._load (node:internal/modules/cjs/loader:1111:12)
      0|mm  |     at c._load (node:electron/js2c/node_init:2:17025)
      0|mm  |     at Module.require (node:internal/modules/cjs/loader:1318:19)
      0|mm  |     at require (node:internal/modules/helpers:179:18)
      0|mm  |     at Object.<anonymous> (/home/chris/MagicMirror/js/electron.js:4:14)
      0|mm  | A JavaScript error occurred in the main process
      0|mm  | Uncaught Exception:
      0|mm  | Error: Cannot find module 'logger'
      0|mm  | Require stack:
      0|mm  | - /home/chris/MagicMirror/js/app.js
      0|mm  | - /home/chris/MagicMirror/js/electron.js
      0|mm  |     at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
      0|mm  |     at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
      0|mm  |     at Module._resolveFilename (/home/chris/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm  |     at Module._load (node:internal/modules/cjs/loader:1058:27)
      0|mm  |     at c._load (node:electron/js2c/node_init:2:17025)
      0|mm  |     at Module.require (node:internal/modules/cjs/loader:1318:19)
      0|mm  |     at require (node:internal/modules/helpers:179:18)
      0|mm  |     at Object.<anonymous> (/home/chris/MagicMirror/js/app.js:7:13)
      0|mm  |     at Module._compile (node:internal/modules/cjs/loader:1484:14)
      0|mm  |     at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
      0|mm  |     at Module.load (node:internal/modules/cjs/loader:1295:32)
      0|mm  |     at Module._load (node:internal/modules/cjs/loader:1111:12)
      0|mm  |     at c._load (node:electron/js2c/node_init:2:17025)
      0|mm  |     at Module.require (node:internal/modules/cjs/loader:1318:19)
      0|mm  |     at require (node:internal/modules/helpers:179:18)
      0|mm  |     at Object.<anonymous> (/home/chris/MagicMirror/js/electron.js:4:14)
      0|mm  | [4076:1001/220004.817112:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.817605:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.817935:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.818158:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.818461:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.818629:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.818957:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.819176:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.819569:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.819796:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.820180:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.820424:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.820811:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.821043:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
      0|mm  | [4076:1001/220004.821511:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      
      

      and so on…

      Regards, Chris.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @chrisfr1976
        last edited by sdetweil

        @chrisfr1976

        Error: Cannot find module ‘logger’

        you have to do
        npm run install-mm ( in the MagicMirror folder)
        after updating nodejs

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S X 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by

          @chrisfr1976 I have just updated the upgrade script to check for node V21 and if found, upgrade to 22.9

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            chrisfr1976 @sdetweil
            last edited by

            @sdetweil I did the npm run install-mm already. Still the same error.
            I have a copy of my SD Card. I could start from last version again only with the update script. Maybe this helps.

            Chris.

            Regards, Chris.

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @chrisfr1976
              last edited by sdetweil

              @chrisfr1976 its been reported that the upgrade script doesn’t restore the installers/MagicMirror.sh we took out of the MagicMirror repo and put in my repo

              pm2 info 0
              

              will list out the details of the managed app. it will list the program started

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S C 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @sdetweil
                last edited by

                I have fixed the upgrade script to save/restore the installers folder and mm.sh

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xIExodusIx @sdetweil
                  last edited by

                  @sdetweil
                  how can I update nodejs?

                  I have:
                  nodejs -v
                  v18.19.0
                  and
                  node -v
                  v20.9.0

                  npm install nodejs@latest
                  does not change my nodejs version.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @xIExodusIx
                    last edited by

                    @xIExodusIx what OS are you on?

                    lsb_release -a
                    and
                    uname -a
                    will show

                    did you use my upgrade script? it will upgrade node too

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    X 2 Replies Last reply Reply Quote 0
                    • X Offline
                      xIExodusIx @sdetweil
                      last edited by

                      @sdetweil

                      Raspberry Pi 4
                      OS = bookworm 64bit

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @xIExodusIx
                        last edited by sdetweil

                        @xIExodusIx did you use my upgrade script?

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

                          @chrisfr1976 can you show me the output of thew npm run install-mm

                          do it this way (from the MM folder of course)

                          cd ~/MagicMirror
                          npm run install-mm >somefile.txt 2>&1
                          

                          then when it finishes all the output is in somefile.txt

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          X 1 Reply Last reply Reply Quote 0
                          • X Offline
                            xIExodusIx @sdetweil
                            last edited by

                            @sdetweil
                            lsb_release -a shows:
                            No LSB modules are available.
                            Distributor ID: Debian
                            Description: Debian GNU/Linux 12 (bookworm)
                            Release: 12
                            Codename: bookworm

                            uname -a shows:
                            Linux MirrorPi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux

                            yes I used your upgrade-script with apply and also with force.

                            pm2 start MagicMirror will start the MM but it won’t show up!

                            npm start results in following errors:
                            [41163:1002/155017.678545:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
                            [41163:1002/155017.688550:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
                            /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV

                            S 2 Replies Last reply Reply Quote 0
                            • S Offline
                              sdetweil @xIExodusIx
                              last edited by

                              @xIExodusIx before this morning, my upgrade script had a bug

                              do

                              cd ~/MagicMirror
                              ls installers
                              

                              that should fail (not found)
                              then do

                              mkdir installers
                              curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/mm.sh >installers/mm.sh
                              chmod +x installers/mm.sh
                              

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              X 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @xIExodusIx
                                last edited by

                                @xIExodusIx also, if you do

                                cd ~/MagicMirror
                                npm start 
                                

                                does MM come up?

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                X 1 Reply Last reply Reply Quote 0
                                • X Offline
                                  xIExodusIx @sdetweil
                                  last edited by

                                  @sdetweil

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

                                  magicmirror@2.29.0 postinstall
                                  npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
                                  "

                                  magicmirror@2.29.0 install-vendor
                                  echo "Installing vendor files …
                                  " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

                                  Installing vendor files …

                                  up to date in 2s

                                  magicmirror@2.29.0 install-fonts
                                  echo "Installing fonts …
                                  " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

                                  Installing fonts …

                                  up to date in 1s
                                  MagicMirror² installation finished successfully!

                                  magicmirror@2.29.0 prepare
                                  [ -f node_modules/.bin/husky ] && husky || echo no husky installed.

                                  no husky installed.

                                  up to date in 14s

                                  after that, nodejs is still the same: 18.19.0

                                  S 1 Reply Last reply Reply Quote 0
                                  • X Offline
                                    xIExodusIx @sdetweil
                                    last edited by

                                    @sdetweil
                                    the installers folder is still there.
                                    should I delete it?
                                    or should run the script without delete the installers folder?

                                    1 Reply Last reply Reply Quote 0
                                    • X Offline
                                      xIExodusIx @sdetweil
                                      last edited by

                                      @sdetweil
                                      if I do npm start

                                      I get this error at the end:
                                      .
                                      .
                                      .
                                      [2024-10-02 16:13:22.616] [LOG] All module helpers loaded.
                                      [2024-10-02 16:13:22.627] [LOG] Starting server on port 8181 …
                                      [63161:1002/161323.449087:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
                                      [63161:1002/161323.449298:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
                                      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @xIExodusIx
                                        last edited by

                                        @xIExodusIx said in Mirror not starting after update:

                                        nodejs is still the same: 18.19.0

                                        this version like last requires node 20 or 22 (not 21)
                                        this is the ‘problem’

                                        magicMirror will not upgrade nodejs… only my upgrade script will do that
                                        npm run install-mm should have failed as there is a test for the correct node version(s)…

                                        can you show me the part of
                                        ~/MagicMirror/installers/upgrade.log
                                        from one of your upgrade runs?
                                        or open an issue on my scripts repo and attached the log there
                                        no personal info is present in the log

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        X 1 Reply Last reply Reply Quote 0
                                        • X Offline
                                          xIExodusIx @sdetweil
                                          last edited by

                                          @sdetweil
                                          Upgrade started - Wed Oct 2 15:47:21 CEST 2024
                                          system is Linux MirrorPi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux
                                          user requested to force apply changes
                                          doing test run = false
                                          the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
                                          Node currently installed. Checking version number.
                                          Minimum Node version: v20.9.0
                                          Installed Node version: v20.9.0
                                          Check current Node installation …
                                          Node currently installed. Checking version number.
                                          Minimum Node version: v20.9.0
                                          Installed Node version: v20.9.0
                                          No Node.js upgrade necessary.
                                          Check current NPM installation …
                                          NPM currently installed. Checking version number.
                                          Minimum npm version: V10.1.0
                                          Installed npm version: V10.8.3
                                          No npm upgrade necessary.

                                          increasing swap space
                                          saving custom.css
                                          remote name = origin
                                          upgrading from version 2.29.0 to 2.29.0
                                          fetching latest revisions
                                          git fetch rc=0
                                          current branch = master
                                          On branch master
                                          Your branch is up to date with ‘origin/master’.

                                          Changes not staged for commit:
                                          (use “git add …” to update what will be committed)
                                          (use “git restore …” to discard changes in working directory)
                                          modified: package-lock.json
                                          modified: package.json

                                          Untracked files:
                                          (use “git add …” to include in what will be committed)
                                          core
                                          installers/
                                          run-start.sh
                                          splashscreen/

                                          no changes added to commit (use “git add” and/or “git commit -a”)
                                          there are 2 local files that are different than the master repo

                                          package-lock.json
                                          package.json

                                          save/restore files selection = y
                                          erasing lock files
                                          Saved working directory and index state WIP on master: 94c3c69 Release 2.29.0 (#3568)
                                          test merge result rc=‘’ , if empty, no conflicts
                                          executing merge, apply specified
                                          merge result rc= 0
                                          Already up to date.
                                          processor architecture is aarch64
                                          updating MagicMirror runtime, please wait

                                          magicmirror@2.29.0 postinstall
                                          npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
                                          "

                                          magicmirror@2.29.0 install-vendor
                                          echo "Installing vendor files …
                                          " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

                                          Installing vendor files …

                                          up to date in 3s

                                          magicmirror@2.29.0 install-fonts
                                          echo "Installing fonts …
                                          " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

                                          Installing fonts …

                                          up to date in 1s
                                          MagicMirror² installation finished successfully!

                                          magicmirror@2.29.0 prepare
                                          [ -f node_modules/.bin/husky ] && husky || echo no husky installed.

                                          no husky installed.

                                          added 466 packages in 35s

                                          112 packages are looking for funding
                                          run npm fund for details
                                          npm install completed - Wed Oct 2 15:48:06 CEST 2024 on base
                                          fixing sandbox permissions

                                          Checking for modules with removed libraries
                                          downloading dumpactivemodules script

                                          updating dependencies for active modules with package.json files

                                          processing for module MMM-mmpm please wait
                                          
                                          ----------------------------------
                                          

                                          up to date, audited 1 package in 1s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-mmpm
                                          
                                          processing for module MMM-pages please wait
                                          
                                          ----------------------------------
                                          

                                          up to date, audited 1 package in 1s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-pages
                                          
                                          processing for module MMM-FlipClock please wait
                                          
                                          ----------------------------------
                                          

                                          added 1 package, and audited 2 packages in 5s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-FlipClock
                                          
                                          processing for module MMM-GoogleCalendar please wait
                                          
                                          ----------------------------------
                                          

                                          npm warn deprecated google-p12-pem@4.0.1: Package is no longer maintained

                                          added 52 packages, and audited 53 packages in 26s

                                          17 packages are looking for funding
                                          run npm fund for details

                                          found 0 vulnerabilities

                                          processing complete for module MMM-GoogleCalendar
                                          
                                          processing for module MMM-DynamicWeather please wait
                                          
                                          ----------------------------------
                                          

                                          up to date, audited 1 package in 1s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-DynamicWeather
                                          
                                          processing for module MMM-Bring please wait
                                          
                                          ----------------------------------
                                          

                                          added 3 packages, and audited 4 packages in 3s

                                          1 package is looking for funding
                                          run npm fund for details

                                          1 moderate severity vulnerability

                                          To address all issues (including breaking changes), run:
                                          npm audit fix --force

                                          Run npm audit for details.

                                          processing complete for module MMM-Bring
                                          
                                          processing for module MMM-PublicTransportHafas please wait
                                          
                                          ----------------------------------
                                          

                                          mmm-publictransporthafas@2.1.1 prepare
                                          [ -f node_modules/.bin/husky ] && husky || echo husky is not installed.

                                          husky is not installed.

                                          added 51 packages, and audited 52 packages in 9s

                                          16 packages are looking for funding
                                          run npm fund for details

                                          found 0 vulnerabilities

                                          processing complete for module MMM-PublicTransportHafas
                                          
                                          processing for module MMM-Autobahn please wait
                                          
                                          ----------------------------------
                                          

                                          added 1 package, and audited 2 packages in 2s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-Autobahn
                                          
                                          processing for module MMM-Globe please wait
                                          
                                          ----------------------------------
                                          

                                          up to date, audited 1 package in 1s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-Globe
                                          
                                          processing for module MMM-FRITZ-Box-Callmonitor-py3 please wait
                                          
                                          ----------------------------------
                                          

                                          added 11 packages, and audited 12 packages in 5s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-FRITZ-Box-Callmonitor-py3
                                          
                                          processing for module MMM-Fuel please wait
                                          
                                          ----------------------------------
                                          

                                          added 17 packages, and audited 18 packages in 4s

                                          8 packages are looking for funding
                                          run npm fund for details

                                          found 0 vulnerabilities

                                          processing complete for module MMM-Fuel
                                          
                                          processing for module MMM-NINA please wait
                                          
                                          ----------------------------------
                                          

                                          up to date, audited 1 package in 1s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-NINA
                                          
                                          processing for module MMM-network-signal please wait
                                          
                                          ----------------------------------
                                          

                                          added 1 package, and audited 2 packages in 4s

                                          found 0 vulnerabilities

                                          processing complete for module MMM-network-signal
                                          

                                          restoring custom.css
                                          removing git alias
                                          we stashed a set of files that appear changed from the latest repo versions. you should review them
                                          Upgrade ended - Wed Oct 2 15:49:22 CEST 2024

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @xIExodusIx
                                            last edited by

                                            @xIExodusIx

                                            https://kristjanesperanto.github.io/MagicMirror-3rd-Party-Modules/

                                            @xIExodusIx said in Mirror not starting after update:

                                            you are on node 20.9.

                                            there are 2 local files that are different than the master repo

                                            package-lock.json
                                            package.json

                                            save/restore files selection = y

                                            sorry, you cannot save/restore those two files…
                                            they are the KEY files for each release

                                            so, do

                                            cd ~/MagicMirror
                                            git diff package.json >somefile.txt
                                            git checkout package.json
                                            git checkout package-lock.json
                                            rm -rf node_modules
                                            npm run install-mm
                                            

                                            any changes you made to package.json are shown in the
                                            somefile.txt if you need to re-apply them to the new package.json file

                                            generally first rule, NEVER edit any files we ship.
                                            1 it breaks upgrades
                                            2 YOU are RESPONSIBLE for remembering WHAT and WHY you did it and how to fix it for next time.

                                            this is why my upgrade script is TWO passes… to detect changes to critical files and warn you … help you remember (before we whack them)

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            X 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
                                            • 2
                                            • 2 / 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