ds300 / ds300/patch-package

Patch file parse error

Open
#382 4 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

[INFO] **ERROR** Failed to apply patch for package @geoman-io/leaflet-geoman-free
[INFO]
[INFO] This happened because the patch file patches\@geoman-io+leaflet-geoman-free+2.11.4.patch could not be parsed.
[INFO]
[INFO] If you just upgraded patch-package, you can try running:
[INFO]
[INFO] cd patches\@geoman-io+leaflet-geoman-free+2.11.4.patc
[INFO] patch -p1 -i h
[INFO] npx patch-package @geoman-io/leaflet-geoman-free
[INFO] cd ../..
[INFO]
[INFO] Otherwise, try manually creating the patch file again.
[INFO]
[INFO] If the problem persists, please submit a bug report:
[INFO]
[INFO] https://github.com/ds300/patch-package/issues/new?title=Patch+file+parse+error&body=%3CPlease+attach+the+patch+file+in+question%3E
[INFO]
[INFO]
[INFO] error Command failed with exit code 1.
[INFO] node:child_process:905
[INFO] throw err;
[INFO] ^
[INFO]
[INFO] Error: Command failed: yarn run prepare
[INFO]
[INFO] **ERROR** Failed to apply patch for package @geoman-io/leaflet-geoman-free
[INFO]
[INFO] This happened because the patch file patches\@geoman-io+leaflet-geoman-free+2.11.4.patch could not be parsed.
[INFO]
[INFO] If you just upgraded patch-package, you can try running:
[INFO]
[INFO] cd patches\@geoman-io+leaflet-geoman-free+2.11.4.patc
[INFO] patch -p1 -i h
[INFO] npx patch-package @geoman-io/leaflet-geoman-free
[INFO] cd ../..
error Command failed with exit code 1.
[INFO]
[INFO] at checkExecSyncError (node:child_process:828:11)
[INFO] at execSync (node:child_process:902:15)
[INFO] at Object. (C:\java\gitRepository\thingsboard\ui-ngx\node_modules\postinstall-prepare\run.js:15:5)
[INFO] at Module._compile (node:internal/modules/cjs/loader:1103:14)
[INFO] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
[INFO] at Module.load (node:internal/modules/cjs/loader:981:32)
[INFO] at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[INFO] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
[INFO] at node:internal/main/run_main_module:17:47 {
[INFO] status: 1,
[INFO] signal: null,
[INFO] output: [
[INFO] null,
[INFO] Buffer(158) [Uint8Array] [
[INFO] 121, 97, 114, 110, 32, 114, 117, 110, 32, 118, 49, 46,
[INFO] 50, 50, 46, 52, 10, 36, 32, 112, 97, 116, 99, 104,
[INFO] 45, 112, 97, 99, 107, 97, 103, 101, 10, 112, 97, 116,
[INFO] 99, 104, 45, 112, 97, 99, 107, 97, 103, 101, 32, 54,
[INFO] 46, 52, 46, 55, 10, 65, 112, 112, 108, 121, 105, 110,
[INFO] 103, 32, 112, 97, 116, 99, 104, 101, 115, 46, 46, 46,
[INFO] 10, 105, 110, 102, 111, 32, 86, 105, 115, 105, 116, 32,
[INFO] 104, 116, 116, 112, 115, 58, 47, 47, 121, 97, 114, 110,
[INFO] 112, 107, 103, 46,
[INFO] ... 58 more items
[INFO] ],
[INFO] Buffer(701) [Uint8Array] [
[INFO] 10, 42, 42, 69, 82, 82, 79, 82, 42, 42, 32, 70,
[INFO] 97, 105, 108, 101, 100, 32, 116, 111, 32, 97, 112, 112,
[INFO] 108, 121, 32, 112, 97, 116, 99, 104, 32, 102, 111, 114,
[INFO] 32, 112, 97, 99, 107, 97, 103, 101, 32, 64, 103, 101,
[INFO] 111, 109, 97, 110, 45, 105, 111, 47, 108, 101, 97, 102,
[INFO] 108, 101, 116, 45, 103, 101, 111, 109, 97, 110, 45, 102,
[INFO] 114, 101, 101, 10, 32, 32, 32, 32, 10, 32, 32, 84,
[INFO] 104, 105, 115, 32, 104, 97, 112, 112, 101, 110, 101, 100,
[INFO] 32, 98, 101, 99,
[INFO] ... 601 more items
[INFO] ]
[INFO] ],
[INFO] pid: 1876,
[INFO] stdout: Buffer(158) [Uint8Array] [
[INFO] 121, 97, 114, 110, 32, 114, 117, 110, 32, 118, 49, 46,
[INFO] 50, 50, 46, 52, 10, 36, 32, 112, 97, 116, 99, 104,
[INFO] 45, 112, 97, 99, 107, 97, 103, 101, 10, 112, 97, 116,
[INFO] 99, 104, 45, 112, 97, 99, 107, 97, 103, 101, 32, 54,
[INFO] 46, 52, 46, 55, 10, 65, 112, 112, 108, 121, 105, 110,
[INFO] 103, 32, 112, 97, 116, 99, 104, 101, 115, 46, 46, 46,
[INFO] 10, 105, 110, 102, 111, 32, 86, 105, 115, 105, 116, 32,
[INFO] 104, 116, 116, 112, 115, 58, 47, 47, 121, 97, 114, 110,
[INFO] 112, 107, 103, 46,
[INFO] ... 58 more items
[INFO] ],
[INFO] stderr: Buffer(701) [Uint8Array] [
[INFO] 10, 42, 42, 69, 82, 82, 79, 82, 42, 42, 32, 70,
[INFO] 97, 105, 108, 101, 100, 32, 116, 111, 32, 97, 112, 112,
[INFO] 108, 121, 32, 112, 97, 116, 99, 104, 32, 102, 111, 114,
[INFO] 32, 112, 97, 99, 107, 97, 103, 101, 32, 64, 103, 101,
[INFO] 111, 109, 97, 110, 45, 105, 111, 47, 108, 101, 97, 102,
[INFO] 108, 101, 116, 45, 103, 101, 111, 109, 97, 110, 45, 102,
[INFO] 114, 101, 101, 10, 32, 32, 32, 32, 10, 32, 32, 84,
[INFO] 104, 105, 115, 32, 104, 97, 112, 112, 101, 110, 101, 100,
[INFO] 32, 98, 101, 99,
[INFO] ... 601 more items
[INFO] ]
[INFO] }

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.