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 starting after upgrade

    Scheduled Pinned Locked Moved Solved Troubleshooting
    41 Posts 5 Posters 13.7k Views 5 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
      chris_d @sdetweil
      last edited by

      @sdetweil
      v10.24.0

      I used manual upgrade running: git pull && npm run install-mm

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

        @chris_d you must upgrade node to at least node 18…

        use my upgrade script, it will do all the work

        https://github.com/sdetweil/MagicMirror_scripts

        because u already have 2.25, use force instead of apply on the actual upgrade step

        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply <-------- change this to force
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • A Offline
          aiprompts
          last edited by

          I am facing the same problem.

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

            @aiprompts see the post above yours

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • W Offline
              wwats
              last edited by

              I also have problems updating to Node 20. I ran the script above, apparently successfully. But version 16.13.1 is still installed
              -> Do I have to start the installation additionally? in which directory?
              Thank you very much

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

                @wwats can you do

                n
                or
                nvm

                and see if either respond?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                W 1 Reply Last reply Reply Quote 0
                • W Offline
                  wwats @sdetweil
                  last edited by wwats

                  @sdetweil
                  n = Use up/down arrow keys to select a version, return key to install, d to delete, q to quit

                  -> but i can’t select a version, the screen ist black

                  -> nvm doesn’t work (-bash: nvm: Kommando nicht gefunden.)

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

                    @wwats there are no versions shown?
                    I see this on my dev machine
                    Screenshot at 2023-10-09 10-14-43.png

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    W 1 Reply Last reply Reply Quote 0
                    • W Offline
                      wwats @sdetweil
                      last edited by

                      No, unfortunately not. i see:
                      cfb25966-6702-4e56-8fd5-397730677743-image.png

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

                        @wwats ok, do

                        d

                        to delete it

                        then node -v

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        W 1 Reply Last reply Reply Quote 1
                        • W Offline
                          wwats @sdetweil
                          last edited by

                          @sdetweil ok i did. I still have version 16.13.1 :-(
                          Am I perhaps in the wrong directory?
                          I have to run the script in the lowest directory directly at pi@raspberrypi:~ $, right?

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

                            @wwats try this from the n info

                            Remove the installed Node.js (does not affect the cached versions). This can be useful to revert to the system version of node (if in a different location)

                            sudo n prune
                            sudo n uninstall
                            

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            W 1 Reply Last reply Reply Quote 1
                            • W Offline
                              wwats @sdetweil
                              last edited by

                              @sdetweil ok this was sucessfull… and what do I have to do now? reinstall? How?
                              Thank you very much and sorry, I’m not an IT specialist…

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

                                @wwats and what does
                                node -v
                                show now?

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                W 1 Reply Last reply Reply Quote 1
                                • W Offline
                                  wwats @sdetweil
                                  last edited by

                                  @sdetweil

                                  pi@raspberrypi:~ $ node -v
                                  -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden

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

                                    @wwats can u do

                                    ls -laF /usr/local/bin/node

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    W 1 Reply Last reply Reply Quote 1
                                    • W Offline
                                      wwats @sdetweil
                                      last edited by

                                      @sdetweil no… :
                                      pi@raspberrypi:~ $ ls -laF /usr/local/bin/node
                                      ls: Zugriff auf ‘/usr/local/bin/node’ nicht möglich: Datei oder Verzeichnis nicht gefunden

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

                                        @wwats ok, try this

                                        which node

                                        on my desktop returns

                                        /usr/local/bin/node

                                        and there is a file there…

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        W 1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wwats @sdetweil
                                          last edited by

                                          @sdetweil i’m very sorry but i don’t understand this and what i have exactly to do… Can you explain it in a different way?

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

                                            @wwats

                                            type the command

                                            which node
                                            

                                            and show the output

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            W 1 Reply Last reply Reply Quote 1

                                            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
                                            • 3
                                            • 1 / 3
                                            • 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