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.4k 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.
    • 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
                • 1
                • 2
                • 3
                • 3 / 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