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'm using Node.js v20.17.0, and I am having problem when installing pnpm by corepack use pnpm@latest.
Corepack throw a parseURL immediately.
Invalid Argument Error: Invalid URL protocol: the URL must start with `http:` or `https:`.
at parseURL (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:3698:15)
at Object.parseOrigin (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:3703:13)
at new Pool (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:11633:27)
at defaultFactory (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:11773:14)
at new ProxyAgent2 (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:11803:25)
at getProxyAgent (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21662:10)
at async fetch (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21582:17)
at async fetchAsJson (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21623:20)
at async fetchAvailableTags (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21563:20)
at async fetchAvailableTags2 (/Users/maxtune/.nvm/versions/node/v20.17.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21686:14)
I tried to change to another device or downgrade node to 18.20.4 and still having the same issue.
The text was updated successfully, but these errors were encountered:
MaxtuneLee
changed the title
parseURL failed when installing pnpmparseURL failed when installing pnpm
Sep 10, 2024
I'm using Node.js v20.17.0, and I am having problem when installing pnpm by
corepack use pnpm@latest
.Corepack throw a parseURL immediately.
I tried to change to another device or downgrade node to 18.20.4 and still having the same issue.
The text was updated successfully, but these errors were encountered: