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

Patch file parse error #555

Open
drkyoyodating opened this issue Feb 12, 2025 · 0 comments
Open

Patch file parse error #555

drkyoyodating opened this issue Feb 12, 2025 · 0 comments

Comments

@drkyoyodating
Copy link

> [email protected] postinstall
Wed, 12 Feb 2025 16:31:27 GMT

patch-package
Wed, 12 Feb 2025 16:31:27 GMT

patch-package 8.0.0
Wed, 12 Feb 2025 16:31:27 GMT

Applying patches...
Wed, 12 Feb 2025 16:31:27 GMT

ERROR Failed to apply patch for package @react-native-firebase/storage
Wed, 12 Feb 2025 16:31:27 GMT

Wed, 12 Feb 2025 16:31:27 GMT

This happened because the patch file patches/@react-native-firebase+storage+18.7.3.patch could not be parsed.
Wed, 12 Feb 2025 16:31:27 GMT

Wed, 12 Feb 2025 16:31:27 GMT

If you just upgraded patch-package, you can try running:
Wed, 12 Feb 2025 16:31:27 GMT

Wed, 12 Feb 2025 16:31:27 GMT

patch -p1 -i patches/@react-native-firebase+storage+18.7.3.patch

Wed, 12 Feb 2025 16:31:27 GMT

npx patch-package @react-native-firebase/storage

Wed, 12 Feb 2025 16:31:27 GMT

Wed, 12 Feb 2025 16:31:27 GMT

Otherwise, try manually creating the patch file again.
Wed, 12 Feb 2025 16:31:27 GMT

Wed, 12 Feb 2025 16:31:27 GMT

If the problem persists, please submit a bug report:
Wed, 12 Feb 2025 16:31:27 GMT

Wed, 12 Feb 2025 16:31:27 GMT

https://github.com/ds300/patch-package/issues/new?title=Patch+file+parse+error&body=%3CPlease+attach+the+patch+file+in+question%3E

Wed, 12 Feb 2025 16:31:27 GMT

npm ERR! code 1
Wed, 12 Feb 2025 16:31:27 GMT

npm ERR! path /Users/expo/workingdir/build
Wed, 12 Feb 2025 16:31:27 GMT

npm ERR! command failed
Wed, 12 Feb 2025 16:31:27 GMT

npm ERR!
Wed, 12 Feb 2025 16:31:27 GMT

command sh -c patch-package
Wed, 12 Feb 2025 16:31:27 GMT

npm
Wed, 12 Feb 2025 16:31:27 GMT

ERR! A complete log of this run can be found in: /Users/expo/.npm/_logs/2025-02-12T16_31_12_380Z-debug-0.log
Wed, 12 Feb 2025 16:31:28 GMT

npm install exited with non-zero code: 1

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

1 participant