-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corepack is skipped with Node 16.9.0. Unable to access it. #660
Comments
This was just released as an experimental feature and Node doesn't ship with it for Windows yet. The only bundled distributions released are available at https://github.com/nodejs/corepack/actions/runs/276463953. Until there is a stable download source for Node with corepack on Windows, there isn't much NVM4W can do. Windows users can apparently install corepack manually though. See https://github.com/nodejs/corepack#manual-installs. With a fresh install of Node 16.9.0, just run I'll leave this open as an enhancement request, but until corepack is bundled with the Node windows binaries, there isn't anything that can be done. |
Corepack is installed by default in the Windows installer and is present in the |
Thanks @merceyz - I was unaware it was shipping as part of the distribution. We can work with that. |
According to Corepack's documentation:
And |
Issue:
nodejs/corepack#52
Node 16.9.0 includes a module called corepack. Corepack allows you to use yarn, pnpm without having to install them (just like how you can use npm right now). Terminal is unable to find the corepack. It seems that corepack isn't installed with the node 16.9.0 if we install node via
nvm-windows
How To Reproduce:
nvm install 16.9.0
nvm use 16.9.0
corepack enable
this one gives error saying it can't recognize/find corepack
Node docs on Corepack
The text was updated successfully, but these errors were encountered: