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.

    Errors after Update

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 2 Posters 2.5k 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 Offline
      sdetweil @JoeFranz
      last edited by

      @JoeFranz try the upgrade script again, with force instead of apply

      it will remove and and add the right version of node the right way, including on buster

      please advise your results…

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

        @sdetweil how do I do the update by force?

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

          @JoeFranz you copy/paste the upgrade apply command string
          and change apply to force

          all the commands are copy paste so you don’t need to download anything
          https://github.com/sdetweil/MagicMirror_scripts

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

            @sdetweil ```

            magicmirror@2.25.0 start
            DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

            [02.10.2023 21:29.49.912] [LOG] Starting MagicMirror: v2.25.0
            [02.10.2023 21:29.49.922] [LOG] Loading config …
            [02.10.2023 21:29.49.928] [DEBUG] config template file not exists, no envsubst
            [02.10.2023 21:29.51.691] [ERROR] (node:7976) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘node-fetch’
            Require stack:

            • /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js
            • /home/pi/MagicMirror/js/app.js
            • /home/pi/MagicMirror/js/electron.js
            • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
            • at node:internal/modules/cjs/loader:1084:15
              at Function. (node:electron/js2c/browser_init:2:117419)
              at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
              at node:internal/modules/cjs/loader:929:27
              at Function._load (node:electron/js2c/asar_bundle:2:13327)
              at Module.require (node:internal/modules/cjs/loader:1150:19)
              at require (node:internal/modules/cjs/helpers:110:18)
              at Object. (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:10:15)
              at Module._compile (node:internal/modules/cjs/loader:1271:14)
              at Object…js (node:internal/modules/cjs/loader:1326:10)
              at Module.load (node:internal/modules/cjs/loader:1126:32)
              at node:internal/modules/cjs/loader:967:12
              at Function._load (node:electron/js2c/asar_bundle:2:13327)
              at Module.require (node:internal/modules/cjs/loader:1150:19)
              at require (node:internal/modules/cjs/helpers:110:18)
              at loadModule (/home/pi/MagicMirror/js/app.js:180:19)
              (Use electron --trace-warnings ... to show where the warning was created)
              [02.10.2023 21:29.51.693] [ERROR] (node:7976) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
              [7976:1002/212952.276668:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
              [8016:1002/212953.559582:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @JoeFranz
              last edited by sdetweil

              @JoeFranz said in Errors after Update:

              Cannot find module ‘node-fetch’

              see https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

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

                @sdetweil The mirror lives again!! Thank you! :-)
                There are still errors in two modules, soccer-live-score and newsfeed
                I’ll take a look at that tomorrow
                Good job thanks

                1 Reply Last reply Reply Quote 1
                • 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