Skip to content
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

Configuring --corepack-enable when .nvmrc contains older node version #1316

Open
karfau opened this issue Nov 12, 2024 · 0 comments
Open

Configuring --corepack-enable when .nvmrc contains older node version #1316

karfau opened this issue Nov 12, 2024 · 0 comments

Comments

@karfau
Copy link

karfau commented Nov 12, 2024

If the nvmrc contains a node version that doesn't support corepack, it fails and doesn't set the node verison.

Is this the expected behavior, or could it be changed to set the version and only attempt to enable corepack if it's a version that supports it?

According to nodejs docs it was added in v14.19.0 and v16.9.0

https://nodejs.org/api/corepack.html#corepack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant