corepack icon indicating copy to clipboard operation
corepack copied to clipboard

When using "COREPACK_NPM_REGISTRY", corepack still fetches pnpm from npmjs.org

Open leo91000 opened this issue 8 months ago • 3 comments

I have my packageManger field set to "[email protected]"

When using COREPACK_NPM_REGISTRY environment variable, corepack fetch succesfully metadata for the given package manager using the provided registry url.

However it seems that the metadata provided by the private package manager returns a tarball located on npmjs.org :

image

As a result, it downloads pnpm from npmjs.org

I am not sure if this is an issue with the private package manager of my company, or if this is some problem with how corepack interpret this.

leo91000 avatar Jun 11 '24 09:06 leo91000