Skip to content

[email protected] has incorrect peer dependency "webpack@^2.2.0 || ^3.0.0" #1126

New issue

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

Closed
1 of 3 tasks
alansouzati opened this issue Sep 29, 2017 · 2 comments
Closed
1 of 3 tasks

Comments

@alansouzati
Copy link

  • Operating System: 10.x
  • Node Version: 6.11.2
  • NPM Version: 3.10.10
  • webpack Version: 3.4.1
  • webpack-dev-server Version: 2.9.1
  • This is a bug
  • This is a feature request
  • This is a modification request

Expected Behavior

No warning to show when using webpack 3.4.

Actual Behavior

Showing warning.

For Bugs; How can we reproduce the behavior?

Run yarn install when webpack version is set to 3.4.1.

Maybe the peerDependency should be updated to the following?

  "webpack": ">= 2.2.0 < 3 || 3.x"
@shellscape
Copy link
Contributor

@alansouzati the peer dep works as expected using npm. perhaps this is another yarn bug?

@alansouzati
Copy link
Author

thanks for the quick answer here. Let me try npm install, I will follow up with yarn on this.

I would expect the caret to allow for 3.4. So I agree with you this sounds like a yarn bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants