Ignore missing peerDependencies that already exist
ericclemmons opened this issue · 0 comments
ericclemmons commented
npm WARN webpack-dev-server@1.16.1 requires a peer of webpack@>=1.3.0 <3 but none was installed.
Installing peerDependencies...
Installing webpack@2.1.0-beta.25...
I have webpack@2.1.0-beta.25
in my package.json
, but NPM is the one with the problem.
If I can require.resolve("webpack")
, then ignore the peer dependencies!