-
Notifications
You must be signed in to change notification settings - Fork 69
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
[Yarn] Error When Installing Package: "command not found: patch-package" #573
Comments
Created a quick error reproduction repo here: https://github.com/garygcchiu/react-native-live-markdown-yarn-error-repro I am using yarn 3.4.1 in this case. I believe it may have something to do with how yarn2+ has native support for patching: https://www.npmjs.com/package/patch-package#yarn-v2 |
I was able to workaround this by creating a patch of my own to remove the postinstall:
Resulting patch:
|
@garygcchiu Thanks for reporting this issue. Someone from Live Markdown team will take a look at this shortly. |
Breaks on yarn 4 as well |
Hey,
I've been trying to install this package into my Expo, React Native application using yarn3 for awhile now and keep running into this error when running
yarn install
:The error is:
I've tried:
"patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0",
to my package.json and then try re-installing. Still same error.The version of react-native-live-markdown I have installed is
0.1.199
.Is there something else I should try?
The text was updated successfully, but these errors were encountered: