[MacPorts] #64622: npm8 update instructions reference npm7

MacPorts noreply at macports.org
Mon Feb 7 18:53:38 UTC 2022


#64622: npm8 update instructions reference npm7
-----------------------------+--------------------
 Reporter:  idontusenumbers  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:
 Keywords:                   |       Port:  npm8
-----------------------------+--------------------
 I installed npm8.

 When running npm update
 {{{
 npm update -g
 }}}

 causes an error instructing me to run
 {{{
 npm ERR! update Ignoring attempt to update npm in /opt/local/lib
 npm ERR! update which is part of the MacPorts npm7 base
 npm ERR! update installation. To update npm please run:
 npm ERR! update sudo port selfupdate && sudo port upgrade npm7
 npm ERR! Ignoring attempt to update npm in /opt/local/lib which is part of
 the MacPorts npm7 base installation.
 }}}

 `npm7` is not installed and thus macports errors when I run that command.

 The error message should read `npm8` for the `npm8` package.

-- 
Ticket URL: <https://trac.macports.org/ticket/64622>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list