You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For various reasons, if my npm image is not modified, network problems often error.
Run npm config set registry https://registry.npmmirror.com/
But after I changed the npm image source, the package management tool used by corepack still downloaded from registry.npmjs.org, so my npm config set registry became invalid.
Expectation:
Set a new image source, and corepack downloads dependencies from the new image source.
$ npm config set registry https://registry.npmmirror.com/
$ corepack enable
$ node -v
v20.13.0
$ pnpm -v
/usr/local/nodejs/lib/node_modules/corepack/dist/lib/corepack.cjs:2[27](xxxx-/jobs/1676749#L27)62
throw new Error(
^
Error: Error when performing the request to https://registry.npmjs.org/pnpm/latest;for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
The text was updated successfully, but these errors were encountered:
For various reasons, if my npm image is not modified, network problems often error.
Run
npm config set registry https://registry.npmmirror.com/
But after I changed the npm image source, the package management tool used by corepack still downloaded from
registry.npmjs.org
, so mynpm config set registry
became invalid.Expectation:
Set a
new image source
, and corepack downloads dependencies from thenew image source
.The text was updated successfully, but these errors were encountered: