6.0.0 requires itself 5.x.x as a peer
envgap__webpack__webpack-cli-4354
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
5405aedeb184191fbe035f8f31410a915062d609- Manifest
packages/configtest/package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
webpack/webpack-cli #4354 · read the original issue
**Describe the bug**
See pnpm output when installing 6.0.0:
```
WARN Issues with peer dependencies found
.
└─┬ webpack-cli 6.0.0
├─┬ @webpack-cli/configtest 3.0.0
│ └── ✕ unmet peer webpack-cli@5.x.x: found 6.0.0
├─┬ @webpack-cli/info 3.0.0
│ └── ✕ unmet peer webpack-cli@5.x.x: found 6.0.0
└─┬ @webpack-cli/serve 3.0.0
└── ✕ unmet peer webpack-cli@5.x.x: found 6.0.0
```
**To Reproduce**
Install 6.0.0
**Expected behavior**
cli should not require itself at a lower version.
**Additional context**
For example: https://github.com/webpack/webpack-cli/blob/f70f8b06d666de9120a432dcff21371f9c8f1f70/packages/serve/package.json#L25
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]