[MacPorts] #73987: nodejs24: where is npm??

MacPorts noreply at macports.org
Mon May 11 20:27:16 UTC 2026


#73987: nodejs24:  where is npm??
---------------------------+--------------------
  Reporter:  seamusdemora  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.12.5
Resolution:                |   Keywords:  tahoe
      Port:  nodejs24      |
---------------------------+--------------------
Description changed by seamusdemora:

Old description:

> I have installed nodejs24 on my macOS Tahoe. However, it appears that
> {{{npm}}} is missing. Where is {{{npm}}}, OR how am I supposed to get
> it??
>
> Here's what I've tried:
>
> {{{
> % sudo port install nodejs24
> --->  Computing dependencies for nodejs24
> --->  Cleaning nodejs24
> --->  Scanning binaries for linking errors
> --->  No broken files found.
> --->  No broken ports found.
>

> % man npm
> No manual entry for npm
>
> % cd /opt
> % sudo find . -type f -iname "npm"
>
> % sudo find . -type f -iname "*npm*"
> ./local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/npm-1.0.tcl
>
> #???????
> }}}

New description:

 I have installed nodejs24 on my macOS Tahoe. However, it appears that
 {{{npm}}} is missing. Where is {{{npm}}}, OR how am I supposed to get it??

 Here's what I've tried:

 {{{
 % sudo port install nodejs24
 --->  Computing dependencies for nodejs24
 --->  Cleaning nodejs24
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.


 % man npm
 No manual entry for npm

 % cd /opt
 % sudo find . -type f -iname "npm"

 % sudo find . -type f -iname "*npm*"
 ./local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/npm-1.0.tcl

 #???????
 }}}

 Also tried nodejs22:

 {{{
 % sudo port uninstall nodejs24
 --->  Deactivating nodejs24 @24.15.0_0
 --->  Cleaning nodejs24
 --->  Uninstalling nodejs24 @24.15.0_0
 --->  Cleaning nodejs24

 % sudo port install nodejs22
 --->  Upgrading already installed dependencies of nodejs22
 --->  Computing dependencies for nodejs22
 --->  Fetching archive for nodejs22
 Attempting to fetch
 https://packages.macports.org/nodejs22/nodejs22-22.22.2_0.darwin_25.arm64.tbz2
 Attempting to fetch
 https://packages.macports.org/nodejs22/nodejs22-22.22.2_0.darwin_25.arm64.tbz2.rmd160
 --->  Installing nodejs22 @22.22.2_0
 --->  Activating nodejs22 @22.22.2_0
 --->  Cleaning nodejs22
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.

 % npm install --global pure-prompt
 zsh: command not found: npm

 ???????
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/73987#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list