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.

    Unable to update to latest version of Node.js and npm

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 4 Posters 11.2k Views 4 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 Do not disturb
      sdetweil @ernenr1
      last edited by

      @ernenr1 try this

      https://www.battlehillmedia.com/installing-node-js-and-npm-on-raspberry-pi-3/

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Reply Quote 1
      • E Offline
        ernenr1 @sdetweil
        last edited by

        @sdetweil Thank you very much! This actually worked!

        1 Reply Last reply Reply Quote 0
        • B Offline
          bminer1
          last edited by

          I am not having much luck with this. Been searching and trying everything…

          i@raspberrypi:~ $ node -v
          v10.15.2
          pi@raspberrypi:~ $ npm -v
          bash: npm: command not found
          
          S 1 Reply Last reply Reply Quote 0
          • E Offline
            EdO
            last edited by

            I’ve used this to update npm:

            npm install npm@latest -g

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @bminer1
              last edited by

              @bminer1 yes, they split the npm install off from the node install… so you have to do two now

              sudo apt-get install npm
              then sudo npm i -g npm ( as it updated the usr/lib folder)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @EdO
                last edited by sdetweil

                @EdO he doesn’t have npm yet… see my post above

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bminer1
                  last edited by

                  This website was exactly what i needed to get the latest version and it worked.

                  https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @bminer1
                    last edited by

                    @bminer1 in the future if you use the installer, it will handle this

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bminer1
                      last edited by

                      I went through all of the avenues and this was the only way it stuck.
                      I am creating a second MM Pi so ill try it again on this Pi.

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @bminer1
                        last edited by

                        @bminer1 use the new installer script

                        see https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0

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