Skip to content

Support pnpm@9 #628

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

Closed
hyunbinseo opened this issue Apr 16, 2024 · 3 comments · Fixed by #629
Closed

Support pnpm@9 #628

hyunbinseo opened this issue Apr 16, 2024 · 3 comments · Fixed by #629

Comments

@hyunbinseo
Copy link

Is your feature request related to a problem? Please describe.

The package is not compatible with the newly released pnpm@9.

This error happened while installing the dependencies of [email protected]

Your pnpm version is incompatible with "[email protected]".

Expected version: ^8.0.0
Got: 9.0.0

This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.

Describe the solution you'd like

Support "pnpm": ">= 8.0.0" if possible.

"engines": {
"node": ">= 16.0.0",
"pnpm": "^8.0.0"
},
"packageManager": "[email protected]",

How important is this feature to you?

Blocking upgrade to pnpm@9.

@shinokada
Copy link

shinokada commented Apr 16, 2024

This is how I downgraded to v8.15.7.

curl https://raw.githubusercontent.com/Homebrew/homebrew-core/3dadd1917286ac77beb3fb71457a0f37fd6e391b/Formula/p/pnpm.rb > pnpm.rb

brew install pnpm.rb

@ragavpr
Copy link

ragavpr commented Apr 16, 2024

Simpler downgrade way for pnpm installed in npm

pnpm setup

pnpm i -g pnpm@8

@shinokada
Copy link

When I use pnpm v9, I get the following errors:

.
├─┬ @sveltejs/vite-plugin-svelte 3.1.0
│ └─┬ svelte-hmr 0.16.0
│   └── ✕ unmet peer svelte@"^3.19.0 || ^4.0.0": found 5.0.0-next.106
├─┬ vite 5.2.9
│ └── ✕ unmet peer @types/node@"^18.0.0 || >=20.0.0": found 12.20.55
└─┬ vitest 1.5.0
  └── ✕ unmet peer @types/node@"^18.0.0 || >=20.0.0": found 12.20.55

Is it only me?

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

Successfully merging a pull request may close this issue.

3 participants