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

Upgrade errors?

Scheduled Pinned Locked Moved Solved Troubleshooting
35 Posts 9 Posters 8.8k Views 10 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 Away
    sdetweil @croc_dad72
    last edited by Oct 2, 2023, 11:55 PM

    @croc_dad72 did u run the node20_install.sh script? by itself?

    I have to go test it again

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S B 2 Replies Last reply Oct 3, 2023, 12:18 AM Reply Quote 0
    • S Away
      sdetweil @sdetweil
      last edited by Oct 3, 2023, 12:18 AM

      @croc_dad72 @BKeyport and any others… I screwed up for the non-buster systems…

      please try my scripts again… they should FIX the problems encountered…

      I remove the current node and then install the correct… 18 for buster, 20 for bullseye

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Oct 3, 2023, 6:05 AM Reply Quote 0
      • B Online
        BKeyport Module Developer @sdetweil
        last edited by Oct 3, 2023, 6:05 AM

        @sdetweil It does seem to work again on latest.

        The "E" in "Javascript" stands for "Easy"

        1 Reply Last reply Reply Quote 0
        • S Offline
          SuperSchenk
          last edited by Oct 3, 2023, 9:13 AM

          I also had this problem, using Buster on a Raspberry pi 3b.

          It started with my npm being to old, unable to upgrade because my node was to old.
          Installing the newest node gave me the `GLIBCXX_3.4.26’ not found (required by node) error.

          The solution for me was installing the LTS version of node using nvm.

          nvm install 'lts/*' --reinstall-packages-from=current
          nvm alias default 18
          

          this uses node version 18.

          after that I could upgrade npm

          nvm install-latest-npm
          

          and with all this in place the upgrade of magic mirror worked.

          Hope this helps

          1 Reply Last reply Reply Quote 0
          • B Offline
            BerkSmash1984 @sdetweil
            last edited by BerkSmash1984 Oct 3, 2023, 12:59 PM Oct 3, 2023, 12:57 PM

            @sdetweil I tried to run the upgrade script on my RPI 4B running Bullseye and it hosed my MM. During the install, I see this:

            76423370-fda2-4559-a897-b4f743221236-image.png

            It appears to have removed/partially remove npm altogether:

            5e3b02c7-4a6f-443f-aeb3-055cf0851db6-image.png

            Any thoughts?

            S 1 Reply Last reply Oct 3, 2023, 1:56 PM Reply Quote 0
            • S Away
              sdetweil @BKeyport
              last edited by sdetweil Oct 3, 2023, 1:07 PM Oct 3, 2023, 1:05 PM

              @BKeyport said in Upgrade errors?:

              Cannot find module ‘fetch’

              we removed this in 2.25

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

              or, you can comment out the require in the module node_helper.js

              as fetch is built in in 2.18 and up

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Oct 3, 2023, 3:52 PM Reply Quote 0
              • S Away
                sdetweil @BerkSmash1984
                last edited by Oct 3, 2023, 1:56 PM

                @BerkSmash1984 I see 64bit… let me look

                seems the process is different there… darn

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Oct 3, 2023, 2:47 PM Reply Quote 0
                • M Offline
                  mumblebaj Module Developer @sdetweil
                  last edited by mumblebaj Oct 3, 2023, 2:52 PM Oct 3, 2023, 2:47 PM

                  @sdetweil Can you help me fix my WSL? I seem to be having and issue with electron and a missing lib. I have emailed you the install.log as well.

                  d54de45a-bb9c-4c18-9751-9e4b2e73e80b-image.png

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories

                  S 1 Reply Last reply Oct 3, 2023, 2:53 PM Reply Quote 0
                  • S Away
                    sdetweil @mumblebaj
                    last edited by Oct 3, 2023, 2:53 PM

                    @mumblebaj maybe
                    https://github.com/snobu/destreamer/issues/216

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Oct 3, 2023, 3:06 PM Reply Quote 0
                    • M Offline
                      mumblebaj Module Developer @sdetweil
                      last edited by Oct 3, 2023, 3:06 PM

                      @sdetweil Thanks Sam. A bunch of missing libs but all working again.

                      Now to add my modules I had running on the dev machine. The joy. :-)

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories

                      S 1 Reply Last reply Oct 3, 2023, 3:08 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        20/35
                        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