-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Description
Verify latest release
- I verified that the issue exists in the latest pnpm release
pnpm version
v10.6.1
Which area(s) of pnpm are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/ntnyq-dev/repro-pnpm-ignore-peer-deps-missing
Reproduction steps
Steps
- run
pnpm install
There is no error message about missing dependency vuepress
- migrate
pnpm
field content inpackage.json
topnpm-workspace.yaml
- cleanup
node_modules
and re-runpnpm install
You will get
WARN Issues with peer dependencies found
.
└─┬ vuepress-plugin-iconify 0.7.0
└── ✕ missing peer vuepress@^2.0.0-rc.15
Peer dependencies that should be installed:
vuepress@^2.0.0-rc.15
Describe the Bug
peerDependencyRules.ignoreMissing
in pnpm-workspace.yaml
not works
Expected Behavior
peerDependencyRules.ignoreMissing
in pnpm-workspace.yaml
works as defined in package.json
Which Node.js version are you using?
v22.14.0
Which operating systems have you used?
- macOS
- Windows
- Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response