[BUG] Seemingly erroneous peer dependency conflict (ERESOLVE) #2055
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Using
npm@7.0.3
package.json:
Actual
NOTE: Without
--strict-peer-deps
this resolves fine, without any (related) warning.Expected
It seems like these peer dependencies should resolve just fine:
webpack
major 4 andwebpack-dev-server
webpack-dev-server
peer-depends onwebpack
major 4 or 5 andwebpack-dev-middleware
webpack-dev-middleware
peer-depends onwebpack
major 4It seems like it's maxing out
webpack-dev-server
's acceptable range first, then resolving that against other packages in the repo, even though there's a non-peer dependency that should be pinning it to v4, which is also acceptable towebpack-dev-server
.The text was updated successfully, but these errors were encountered: