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

Envinfo adding "packageManager": "pnpm@ to package.json #260

Open
lts20050703 opened this issue Jun 21, 2024 · 1 comment
Open

Envinfo adding "packageManager": "pnpm@ to package.json #260

lts20050703 opened this issue Jun 21, 2024 · 1 comment

Comments

@lts20050703
Copy link

After running npx envinfo --system --npmPackages svelte,rollup,webpack --binaries --browsers, envinfo added "packageManager": "pnpm@ to my package.json. I have enabled corepack and have pnpm installed, but that doesn't mean I use pnpm for every single projects.

Output:

  System:
    OS: Linux 6.5 KDE neon 6.0 6.0
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 11.02 GB / 15.40 GB
    Container: Yes
    Shell: 3.7.1 - /usr/bin/fish
  Binaries:
    Node: 22.3.0 - ~/.local/share/nvm/v22.3.0/bin/node
    Yarn: 1.22.21 - ~/.local/share/nvm/v22.3.0/bin/yarn
    npm: 10.8.1 - ~/.local/share/nvm/v22.3.0/bin/npm
    pnpm: 8.15.3 - ~/.local/share/nvm/v22.3.0/bin/pnpm
    bun: 1.1.10 - ~/.bun/bin/bun
  Browsers:
    Brave Browser: 126.1.67.119
  npmPackages:
    svelte: ^5.0.0-next.154 => 5.0.0-next.154
@karlhorky
Copy link

I think this is default Corepack behavior (since [email protected]), probably not an issue with envinfo:

You may want to try setting COREPACK_ENABLE_AUTO_PIN=0

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

2 participants