#9 Supress npm update notifier
Closed 2 years ago by sgallagh. Opened 3 years ago by mymindstorm.
rpms/ mymindstorm/nodejs master  into  rawhide

file modified
+1
@@ -1,2 +1,3 @@ 

  prefix=/usr/local

  python=/usr/bin/python3

+ update-notifier=false

This disables the npm update notifier. It does not make sense to show the Run npm i -g npm to update prompt if npm is being updated via dnf.

https://docs.npmjs.com/cli/v6/using-npm/config#update-notifier

Sorry, I just saw this PR today.

I'm actually inclined to leave it present unless the user adds that option to their ~/.npmrc because it actually works now. It used to be that running npm i -g npm would break the installation, but it now installs into /usr/local/ and works just fine.

Pull-Request has been closed by sgallagh

2 years ago