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

sounds familiar? undici

Scheduled Pinned Locked Moved Solved Troubleshooting
4 Posts 2 Posters 362 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.
  • R Offline
    ReD1470
    last edited by Jan 13, 2025, 3:54 PM

    A JavaScript error occurred in the main process
    0|mm | Uncaught Exception:
    0|mm | Error: Cannot find module ‘undici’

    so after updateing the mirror and the pi this is my error
    I have rebooted and have ran sdetweil fix-it-all script with apply.

    But helas…

    Mirror down mayday mayday

    S 1 Reply Last reply Jan 13, 2025, 4:06 PM Reply Quote 0
    • S Offline
      sdetweil @ReD1470
      last edited by sdetweil Jan 14, 2025, 11:05 PM Jan 13, 2025, 4:06 PM

      @ReD1470 you did not update to the required nodejs version…

      if you had run the automated ugrade script it would have handled this for you

      https://github.com/sdetweil/MagicMirror_scripts

      depending on your OS version you ‘might’ be able to force fix it

      run the upgrade script from above with

      force
      

      at the end, instead of

      apply
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R Offline
        ReD1470
        last edited by Jan 13, 2025, 6:32 PM

        So I ran the script, again, only now I applied FORCE at teh end
        result:
        ebian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Mon Jan 13 16:27:51 2025 from 192.168.2.127
        pi@pi-mirror:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force
        update log will be in /home/pi/MagicMirror/installers/upgrade.log
        doing test run = false
        Node currently installed. Checking version number.
        Minimum Node version: v20.18.1
        Installed Node version: v20.18.1
        Check current Node installation …
        Node currently installed. Checking version number.
        Minimum Node version: v20.18.1
        Installed Node version: v20.18.1
        No Node.js upgrade necessary.
        Check current NPM installation …
        NPM currently installed. Checking version number.
        Minimum npm version: V10.8.2
        Installed npm version: V10.8.2
        No npm upgrade necessary.

        want /var/swap=200MByte, checking existing: keeping it
        saving custom.css
        upgrading from version 2.30.0 to 2.30.0
        fetching latest revisions
        updating MagicMirror runtime, please wait

        the screen did not change, so i pressed enter, and new info came up.

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

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

        Installing vendor files …

        changed 3 packages in 11s

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

        Installing fonts …

        changed 2 packages in 7s
        MagicMirror² installation finished successfully!

        then it started checking all my modules, no changes there

        But all is well again and the mirror is running
        So again Sam, tnx a milion!
        2bad i keep running into these errors

        S 1 Reply Last reply Jan 14, 2025, 7:23 PM Reply Quote 0
        • S Offline
          sdetweil @ReD1470
          last edited by Jan 14, 2025, 7:23 PM

          @ReD1470 this is why i created the upgrade script, cause there lots of little things that will make you unhappy!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R ReD1470 has marked this topic as solved on Jan 16, 2025, 8:58 PM
          • 1 / 1
          1 / 1
          • First post
            4/4
            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