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 tried to enable corepack and install modules
corepack enable
yarn
What happened?
I got error:
Type Error: URL.canParse is not a function
at parseSpec (/Users/user/.nvm/versions/node/v18.15.0/lib/node_modules/corepack/dist/lib/corepack.cjs:23359:21)
at loadSpec (/Users/user/.nvm/versions/node/v18.15.0/lib/node_modules/corepack/dist/lib/corepack.cjs:23422:11)
at async Engine.findProjectSpec (/Users/user/.nvm/versions/node/v18.15.0/lib/node_modules/corepack/dist/lib/corepack.cjs:23606:22)
at async Engine.executePackageManagerRequest (/Users/user/.nvm/versions/node/v18.15.0/lib/node_modules/corepack/dist/lib/corepack.cjs:23660:20)
at async BinaryCommand.validateAndExecute (/Users/user/.nvm/versions/node/v18.15.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21164:22)
at async _Cli.run (/Users/user/.nvm/versions/node/v18.15.0/lib/node_modules/corepack/dist/lib/corepack.cjs:22139:18)
at async Object.runMain (/Users/user/.nvm/versions/node/v18.15.0/lib/node_modules/corepack/dist/lib/corepack.cjs:24371:12)
What did you expect to happen?
To install node modules
Is there anything in any of your profile files that modifies the PATH?
Note that you need to update nvm; the latest is v0.39.7.
If you're getting an error as a result of using corepack, you need to file an issue on the nodejs/corepack repo - once node's installed, nvm has no impact here.
Operating system and version:
macOS 13.6.2
nvm debug
output:nvm ls
output:How did you install
nvm
?install script in readme
What steps did you perform?
I tried to enable corepack and install modules
corepack enable
yarn
What happened?
I got error:
What did you expect to happen?
To install node modules
Is there anything in any of your profile files that modifies the
PATH
?The text was updated successfully, but these errors were encountered: