Read the statement by Michael Teeuw here.
upgrade to new NPM version?
-
@kai don’t worry about that … we do not depend on NPM v8
-
@sdetweil cool, thanks a lot!
-
Since 6.14.12 there have been a lot of bug fixes, so an upgrade is recommended. And MM works fine with 8.19.2.
-
@KristjanESPERANTO if they are running fine, no reason to upgrade. when a new mm release comes that needs a new node or npm, then my script will upgrade that too
-
@sdetweil how to update npm version?my MM is on the last version, but my raspian already has a better version of npm than my Magic mirror, but my MM doesnt see that.
-
@eltonnascimento sudo npm i npm@version-numnumber
note that I may have to npm install in every module folder that has a package.json and the base
I would ignore the message.
my upgrade script will be upgraded to install npm 8 on the next release (jan, 1)
-
@sdetweil I ran the command sudo npm i npm@8.19 inside the /MagicMirror folder, but it didn’t update the npm version. then I ran the command npm install inside MMM-Tools, without success.


do you have any other tips?
-
@eltonnascimento but it did. npm is 8 now
-
@sdetweil but the MM-Tools module, indicates that npm is v6.14.12…as in the first picture above. I already did the npm install inside the MMM-Tools directory as well.
-
@eltonnascimento I don’t know about mmm-tools.
you don’t install npm in any folder
-g means global
ah I forgot the -g
sudo npm i -g npm@version_number
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
