Read the statement by Michael Teeuw here.
Unable to update to latest version of Node.js and npm
-
-
@sdetweil Thank you very much! This actually worked!
-
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 -
I’ve used this to update npm:
npm install npm@latest -g
-
@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) -
@EdO he doesn’t have npm yet… see my post above
-
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/
-
@bminer1 in the future if you use the installer, it will handle this
-
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. -
@bminer1 use the new installer script
see https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer
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