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.

    Error: Cannot find module 'undici' after update using script from sdetweil

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 587 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.
    • G Offline
      Gnardar
      last edited by

      Applied the latest update of MM to my rpi4 and am getting the following error when trying to launch MM

      Error: Cannot find module ‘undici’

      cfd891d8-d362-427e-a941-8c05fb365994-image.png

      Running the script shows the latest nodejs version etc

      ffcd6196-e710-4338-8a9c-ae58d5921704-image.png

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

        @Gnardar replied

        net, you attempted upgrade manually, and got caught be the node upgrade requirement

        now MagicMirror code is 2.30, node is downlevel
        npm install fails

        then you ran upgrade script, but it will not upgrade same version (without extra step)
        so it made no change, stuck in same spot

        to force upgrade in this situation, change the word apply
        to force on the upgrade command

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

          @Gnardar show the rest of the upgrade.log

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            Gnardar @sdetweil
            last edited by

            @sdetweil Are you wanting to see it from when I ran the upgrade or when I run it again to see that it is up to date?

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

              @Gnardar where you ran the upgrade, just send the whole file to my email, same userid at gmail
              it didn’t finish for some reason

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                Gnardar @sdetweil
                last edited by

                @sdetweil Sent. Thanks!

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

                  @Gnardar replied

                  net, you attempted upgrade manually, and got caught be the node upgrade requirement

                  now MagicMirror code is 2.30, node is downlevel
                  npm install fails

                  then you ran upgrade script, but it will not upgrade same version (without extra step)
                  so it made no change, stuck in same spot

                  to force upgrade in this situation, change the word apply
                  to force on the upgrade command

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