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.

    nodejs 22.18.0 ??

    Scheduled Pinned Locked Moved Solved Troubleshooting
    25 Posts 3 Posters 3.8k Views 3 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.
    • AssassinsA Offline
      Assassins @sdetweil
      last edited by

      @sdetweil is a pi3 armv7l

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

        @Assassins no, do

        lsb_release -a
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S AssassinsA 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by sdetweil

          Also try

          nvm —help
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          AssassinsA 1 Reply Last reply Reply Quote 0
          • AssassinsA Offline
            Assassins @sdetweil
            last edited by Assassins

            @sdetweil said in nodejs 22.18.0 ??:

            lsb_release -a

            Distributor ID: Raspbian
            Description: Raspbian GNU/Linux 13 (trixie)
            Release: 13
            Codename: trixie

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

              @sdetweil is a new fresh install i dont can install 22.18.0, so i can not install MM 2.33.0

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

                @Assassins trixie 32 bit is trouble so far. I’d go back to bookworm

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                AssassinsA 1 Reply Last reply Reply Quote 0
                • AssassinsA Offline
                  Assassins @sdetweil
                  last edited by

                  @sdetweil i had the same problem yesterday with bookworm

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

                    @Assassins did you use my script?

                    I tested 32 bit on pi3 the other other day

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    AssassinsA 1 Reply Last reply Reply Quote 0
                    • AssassinsA Offline
                      Assassins @sdetweil
                      last edited by

                      @sdetweil but is only install 22.15.0 and not 22.18.0 yesterday on bookworm, and today on trixie

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

                        @Assassins flash sd card with bookworm , boot sd, run script

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        AssassinsA 1 Reply Last reply Reply Quote 0
                        • AssassinsA Offline
                          Assassins @sdetweil
                          last edited by

                          @sdetweil
                          bookworm 32bit on a freash install say :
                          pi@EmptyImage:~ $ sudo npm install n -g
                          sudo: npm: Command not found

                          S AssassinsA 2 Replies Last reply Reply Quote 0
                          • S Offline
                            sdetweil @Assassins
                            last edited by

                            @Assassins yes, node/npm are not installed

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            S 1 Reply Last reply Reply Quote 0
                            • AssassinsA Offline
                              Assassins @Assassins
                              last edited by

                              @sdetweil
                              You start by referring to another thread.
                              Have you even read what I’m writing in this thread??
                              Read further up, I’m writing that just install 22.15.0 on a fresh install, and you write back, after you wirte “flash sd card with bookworm , boot sd, run script” the another thread say
                              sudo npm install n -g

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

                                the script, my script will install node/npm at the version we think matches inside electron, if necessary

                                IF there is a problem, separately, outside my script,
                                you can use n or nvm to update/change your node version
                                n requires node and npm to be installed (as they are part of the n install)

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • AssassinsA Offline
                                  Assassins @Assassins
                                  last edited by

                                  But how can i install 22.18.0 on a fresh install without all the script.
                                  Why does it have to be so much hassle to install MM today, in the past it was MUCH easier to install.

                                  S 3 Replies Last reply Reply Quote 1
                                  • S Offline
                                    sdetweil @Assassins
                                    last edited by

                                    @Assassins which OS? trixie 32 bit is a mess… stay with bookworm

                                    my script does the job. from the start (not on trixie)

                                    I have tested on pi3 (32) and pi5 (64) and VM (64 bit)

                                    trixie changes the way swap space increase is done and requires a reboot to change (dumb)
                                    so, it runs REALLLLLLLLLLY slow… in small memory systems… PI-02w

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

                                      @Assassins you can also install nvm, which is a bash version of node installation

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

                                        @Assassins well the good news is we are keeping the MagicMirror core dependencies up to date, but that is the bad news too… change brings churn….

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • TAGinsideT Offline
                                          TAGinside @Assassins
                                          last edited by TAGinside

                                          @Assassins

                                          You can try this

                                          Before check if you have a version installed yet

                                          node -v
                                          

                                          If yes uninstall it

                                          For install node.js 22 MAJOR

                                          curl -sL https://deb.nodesource.com/setup_22.x | sudo -E bash -
                                          sudo apt install nodejs
                                          

                                          At least check if you have the good version with node -v

                                          1 Reply Last reply Reply Quote 0
                                          • S sdetweil has marked this topic as solved on

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