ds300 / ds300/patch-package

Patch file parse error

Open
#555 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

> yoyomvp@1.0.0 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.