ds300 / ds300/patch-package

Patch file parse error

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

Description

Exit code: 1
Command: node ./run.js
Arguments:
Directory: F:\webstormProjects\hotspot-app\node_modules\postinstall-postinstall
Output:
**ERROR** Failed to apply patch for package @react-native-community/blur

This happened because the patch file patches\@react-native-community+blur+3.6.0.patch could not be parsed.

If you just upgraded patch-package, you can try running:

cd patches\@react-native-community+blur+3.6.0.patc
patch -p1 -i h
npx patch-package @react-native-community/blur
cd ../..

Otherwise, try manually creating the patch file again.

If the problem persists, please submit a bug report:

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

error Command failed with exit code 1.
child_process.js:679
throw err;
^

Error: Command failed: yarn run postinstall

**ERROR** Failed to apply patch for package @react-native-community/blur

This happened because the patch file patches\@react-native-community+blur+3.6.0.patch could not be parsed.

If you just upgraded patch-package, you can try running:

cd patches\@react-native-community+blur+3.6.0.patc
patch -p1 -i h
npx patch-package @react-native-community/blur
cd ../..

Otherwise, try manually creating the patch file again.

If the problem persists, please submit a bug report:

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

error Command failed with exit code 1.

at checkExecSyncError (child_process.js:640:11)
at execSync (child_process.js:676:15)
at Object. (F:\webstormProjects\hotspot-app\node_modules\postinstall-postinstall\run.js:15:5)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
status: 1,
signal: null,
output: [
null,
Buffer(159) [Uint8Array] [
121, 97, 114, 110, 32, 114, 117, 110, 32, 118, 49, 46,
50, 50, 46, 49, 55, 10, 36, 32, 112, 97, 116, 99,
104, 45, 112, 97, 99, 107, 97, 103, 101, 10, 112, 97,
116, 99, 104, 45, 112, 97, 99, 107, 97, 103, 101, 32,
54, 46, 52, 46, 55, 10, 65, 112, 112, 108, 121, 105,
110, 103, 32, 112, 97, 116, 99, 104, 101, 115, 46, 46,
46, 10, 105, 110, 102, 111, 32, 86, 105, 115, 105, 116,
32, 104, 116, 116, 112, 115, 58, 47, 47, 121, 97, 114,
110, 112, 107, 103,
... 59 more items
],
Buffer(691) [Uint8Array] [
10, 42, 42, 69, 82, 82, 79, 82, 42, 42, 32, 70,
97, 105, 108, 101, 100, 32, 116, 111, 32, 97, 112, 112,
108, 121, 32, 112, 97, 116, 99, 104, 32, 102, 111, 114,
32, 112, 97, 99, 107, 97, 103, 101, 32, 64, 114, 101,
97, 99, 116, 45, 110, 97, 116, 105, 118, 101, 45, 99,
111, 109, 109, 117, 110, 105, 116, 121, 47, 98, 108, 117,
114, 10, 32, 32, 32, 32, 10, 32, 32, 84, 104, 105,
115, 32, 104, 97, 112, 112, 101, 110, 101, 100, 32, 98,
101, 99, 97, 117,
... 591 more items
]
],
pid: 61224,
stdout: Buffer(159) [Uint8Array] [
121, 97, 114, 110, 32, 114, 117, 110, 32, 118, 49, 46,
50, 50, 46, 49, 55, 10, 36, 32, 112, 97, 116, 99,
104, 45, 112, 97, 99, 107, 97, 103, 101, 10, 112, 97,
116, 99, 104, 45, 112, 97, 99, 107, 97, 103, 101, 32,
54, 46, 52, 46, 55, 10, 65, 112, 112, 108, 121, 105,
110, 103, 32, 112, 97, 116, 99, 104, 101, 115, 46, 46,
46, 10, 105, 110, 102, 111, 32, 86, 105, 115, 105, 116,
32, 104, 116, 116, 112, 115, 58, 47, 47, 121, 97, 114,
110, 112, 107, 103,
... 59 more items
],
stderr: Buffer(691) [Uint8Array] [
10, 42, 42, 69, 82, 82, 79, 82, 42, 42, 32, 70,
97, 105, 108, 101, 100, 32, 116, 111, 32, 97, 112, 112,
108, 121, 32, 112, 97, 116, 99, 104, 32, 102, 111, 114,
32, 112, 97, 99, 107, 97, 103, 101, 32, 64, 114, 101,
97, 99, 116, 45, 110, 97, 116, 105, 118, 101, 45, 99,
111, 109, 109, 117, 110, 105, 116, 121, 47, 98, 108, 117,
114, 10, 32, 32, 32, 32, 10, 32, 32, 84, 104, 105,
115, 32, 104, 97, 112, 112, 101, 110, 101, 100, 32, 98,
101, 99, 97, 117,

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.