due to the way this uses rc
, this pkg will find a url specified in a user's .npmrc
file, but not necessarily the global npmrc.
the global npmrc according to npm is located at $PREFIX/etc/npmrc
where $PREFIX
is determined based on where node is installed. for example, the node:dubnium-alpine
docker container comes with a node install where the global config is expected to be at /usr/local/etc/npmrc
. if you're using nvm
, your npm will look for a file somewhere similar to /Users/colby.white/.nvm/versions/node/v10.24.0/etc/npmrc
.
looking at how rc
defines its logic, it will never look at /usr/local/etc/npmrc
, looking at /etc/npmrc
instead.
and thus if the registry url is defined in a global npmrc, this pkg will never find it.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too