| ▲ | chrisweekly 9 days ago | |||||||
> npm10 is sufficient (which currently installs node22 on MacPorts) Wait, no, node22 comes with npm10, not the other way around.  | ||||||||
| ▲ | halostatue 8 days ago | parent [-] | |||||||
MacPorts separates `node` and `npm` packages like many package managers do: 
The Portfile that I created specifies that if `npm` is present in $PATH (which isn't the user's $PATH because MacPorts uses `sudo`) then it should be used and assumed correct; otherwise, it says that the `npm10` port must be installed (because the instructions for oxdraw indicate that one must run `npm install && npm build`). | ||||||||
  | ||||||||