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

Can I change corepack's platform runtime version after Node.js installation? #1675

Open
kano-hideki opened this issue Jan 31, 2024 · 0 comments

Comments

@kano-hideki
Copy link

kano-hideki commented Jan 31, 2024

Questions

Can I change corepack's platform runtime version after Node.js installation?

Reproduce

  1. Rum volta install node@20.9.0 && corepack enable.
  2. Run volta list all.
⚡️ User toolchain:

    Node runtimes:
        v20.9.0   (current)
        v20.11.0

    Packages:
        corepack@0.24.1 (default)
            binary tools: corepack, pnpm, pnpx, yarn, yarnpkg
            platform:
                runtime: node@20.9.0. <-- HERE
                package manager: npm@built-in

Corepack uses node@20.9.0. Next,

  1. Run volta install node@20.11.0
  2. Run volta list all.
⚡️ User toolchain:

    Node runtimes:
        v20.9.0  
        v20.11.0  (current)

    Packages:
        corepack@0.24.1 (default)
            binary tools: corepack, pnpm, pnpx, yarn, yarnpkg
            platform:
                runtime: node@20.9.0. <-- HERE
                package manager: npm@built-in

Corepack uses node@20.9.0 yet. Should use node@20.11.0.

@kano-hideki kano-hideki changed the title Can I change a corepack's platform runtime version after Node.js installation? Can I change corepack's platform runtime version after Node.js installation? Jan 31, 2024
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