We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
Dependencies resolver
https://stackblitz.com/edit/vitejs-vite-sttob6
Enter the repro link and run pnpm v9 (which is a script to install dependencies with v9 instead of default v8 in stackblitz).
pnpm v9
The following error will be printed
└─┬ vite-plugin-checker 0.6.4 └── ✕ unmet peer meow@^9.0.0: found 13.2.0
Should not have unmet warning as meow is an optional dependency of vite-plugin-checker
meow
vite-plugin-checker
No warning in pnpm v8
v20.11.1
The text was updated successfully, but these errors were encountered:
meow 13 is in the dependencies of browserslist-to-esbuild@2.1.1 and is used to resolve the optional peer of vite-plugin-checker.
Sorry, something went wrong.
Pnpm v8 didn't give this warning. Thus is it an issue of v8 instead of v9? How to let vite-plugin-checker ignore meow which is not required?
I'll think about it. Maybe we should change how it works in v9. Maybe we should hoist optional peer dependencies only if they match the range.
fix: only automatically resolve optional peers with versions that sat…
1a6f7fb
…isfy the ranges (#8028) close #7985
zkochan
Successfully merging a pull request may close this issue.
Verify latest release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
Dependencies resolver
Link to the code that reproduces this issue or a replay of the bug
https://stackblitz.com/edit/vitejs-vite-sttob6
Reproduction steps
Enter the repro link and run
pnpm v9
(which is a script to install dependencies with v9 instead of default v8 in stackblitz).Describe the Bug
The following error will be printed
Expected Behavior
Should not have unmet warning as
meow
is an optional dependency ofvite-plugin-checker
No warning in pnpm v8
Which Node.js version are you using?
v20.11.1
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: