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

**ERROR** Failed to apply patch for package react-native-receive-sharing-intent at path #545

Open
juongithub opened this issue Nov 14, 2024 · 1 comment

Comments

@juongithub
Copy link

juongithub commented Nov 14, 2024

A patch (patch-package 8.0.0) created to add a new file and modify an existing one generates an error on Windows 11, WSL2 (version: 2.3. 26.0) and Mac OS (Sequoia 15.1).

Attached is a small test project where the error occurs.

To reproduce the error:
npm install <- the patch works without node_modules folder
rm node_modules/react-native-receive-sharing-intent/ios/ShareViewController.swift
npm install <- the patch fails with "ERROR Failed to apply patch for package react-native-receive-sharing-intent at path"

removing the node_modules/react-native-receive-sharing-intent/ folder everything works correctly again.

patch-package-test.zip

@JeanMeche
Copy link

JeanMeche commented Nov 22, 2024

It's probably the same issue that was reported in #504, also you might want to have a look at #518.

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