Skip to content

fix invalid sem version in peer dep #1862

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
wants to merge 1 commit into from
Closed

fix invalid sem version in peer dep #1862

wants to merge 1 commit into from

Conversation

ankurk91
Copy link

@ankurk91 ankurk91 commented Aug 7, 2021

Hi,

yarn (v1.22) is complaining that - webpack is not installed

warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.1.0 || ^5.0.0-0"

Looks like 5.0.0-0 was added when webpack 5 was in early stage.
#1469

yarn is complaining that - webpack is not installed

```
warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.1.0 || ^5.0.0-0"
```
@haoqunjiang
Copy link
Member

5.0.0-0 is a valid semver range. You can try it out at https://semver.npmjs.com/

@haoqunjiang haoqunjiang closed this Aug 7, 2021
@ankurk91 ankurk91 deleted the fix/peer-dep branch August 7, 2021 08:16
@ankurk91
Copy link
Author

ankurk91 commented Aug 7, 2021

The version mentioned in package.json
was never published for webpack.

I am checking here
https://unpkg.com/browse/[email protected]/

My PR was not about fixing the semver,
it was about the peer dependency warning given by yarn, and may be npm too .

@haoqunjiang
Copy link
Member

Just try it out.
The peer dependency warning can't be caused by this version range.

image

@ankurk91
Copy link
Author

ankurk91 commented Aug 7, 2021

Okay, maybe it is the big within yarn itself.

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

Successfully merging this pull request may close these issues.

2 participants