-
Notifications
You must be signed in to change notification settings - Fork 177
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 enable
exits successfully (exit code 0), but isn't actually enabled
#507
Comments
Open
1 task
Is maybe |
|
It seems to work after opening a new terminal session. |
For anyone else landing here - in my case the root cause was having Volta installed. I work in multiple repositories, some use corepack and others Volta, but Volta silently breaks corepack, so I need to switch between them manually when changing working directories. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Every command (except running just
yarn
) above exited with code0
. But none of them seems to actually do anything.Expected behavior
Ideally
corepack enable
would work, and yarn would switch to version 4.3, but at the very least some kind of error message would be useful when corepack can't actually be enabled.Additional Info
corepack yarn -v
correctly prints out4.3.0
Reproduction
corepack enable
andyarn install
Workaround
Always use
corepack yarn
instead of justyarn
The text was updated successfully, but these errors were encountered: