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
I have this in my package.json: "packageManager": "pnpm@7.32.5".
I originally have corepack v0.22.0 (or v0.23.0 which I don't recall and doesn't matter) and it worked fine. After upgrading to v0.25.2 (then tested v0.25.0), I got this warning at first:
❯ nr start:weapp
Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-7.32.5.tgz.
Do you want to continue? [Y/n] y
Internal Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-7.32.5.tgz;for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
at fetch (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22887:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fetchUrlStream (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22905:20)
at async installVersion (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23075:18)
at async Engine.ensurePackageManager (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23366:32)
at async executePackageManagerRequest (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24222:23)
at async BinaryCommand.validateAndExecute (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21164:22)
at async _Cli.run (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22139:18)
at async Object.runMain (/Users/royrao/.nvm/versions/node/v18.17.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24265:12)
I had to downgrade corepack to v0.24.1 which works fine. How can I fix this? Much thanks!
The text was updated successfully, but these errors were encountered:
@aduh95 I can confirm this still happens with v0.25.2. We try to install yarn through corepack and also run into:
Internal Error: Error when performing the request to https://registry.npmjs.org/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
I have this in my
package.json
:"packageManager": "pnpm@7.32.5"
.I originally have corepack v0.22.0 (or v0.23.0 which I don't recall and doesn't matter) and it worked fine. After upgrading to v0.25.2 (then tested v0.25.0), I got this warning at first:
Then when I run my project commands:
I had to downgrade corepack to v0.24.1 which works fine. How can I fix this? Much thanks!
The text was updated successfully, but these errors were encountered: