Skip to content
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

fix: correctly resolve the installed package version #538

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhouzh1
Copy link

@zhouzh1 zhouzh1 commented Oct 16, 2024

Issue

In our project, the react-native-web lib is referenced at two places and the respective version scheme for it is different, one is the ^0.19.12, another is the ~0.19.12, after installing by the yarn command, the final yarn.lock file includes such a fragment which describes what version of the react-native-web we're using, but the patch-package seems to be not able to correctly process this kind of structure, finally it resolves the package version to be the ^0.19.12, react-native-web@npm:~0.19.12, apparently, it's incorrect and causes the patch procedure to fail.
image

Environment

  • Package manager: Yarn

@zhouzh1
Copy link
Author

zhouzh1 commented Oct 18, 2024

Is there anybody can help take a review? @ds300

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.

1 participant