ds300 / ds300/patch-package

I can't create a patch

Open
#547 13 comments 14 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

I can't create a patch via npx patch-package, I see an error about the absence of a local file, even though it is in the packages folder

```
patch-package 8.0.0
• Creating temporary folder
• Installing @glideapps/glide-data-grid@5.2.7 with yarn
npm WARN tarball tarball data for @glideapps/glide-data-grid@file:packages/glide/glideapps-glide-data-grid-5.2.7.tgz (null) seems to be corrupted. Trying again.
npm WARN tarball tarball data for @glideapps/glide-data-grid@file:packages/glide/glideapps-glide-data-grid-5.2.7.tgz (null) seems to be corrupted. Trying again.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /tmp/tmp-19391nNb9KAE6LjxX/packages/glide/glideapps-glide-data-grid-5.2.7.tgz
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/tmp/tmp-19391nNb9KAE6LjxX/packages/glide/glideapps-glide-data-grid-5.2.7.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /home/sergey/.npm/_logs/2024-11-25T12_35_39_708Z-debug.log

{
status: 254,
signal: null,
output: [
null,
,

],
pid: 19409,
stdout: ,
stderr: ,
error: null
}

/home/sergey/git/superset/superset-frontend/node_modules/patch-package/dist/makePatch.js:395
throw e;
^
{
status: 254,
signal: null,
output: [
null,
Buffer(0) [Uint8Array] [],
Buffer(824) [Uint8Array] [
110, 112, 109, 32, 87, 65, 82, 78, 32, 116, 97, 114,
98, 97, 108, 108, 32, 116, 97, 114, 98, 97, 108, 108,
32, 100, 97, 116, 97, 32, 102, 111, 114, 32, 64, 103,
108, 105, 100, 101, 97, 112, 112, 115, 47, 103, 108, 105,
100, 101, 45, 100, 97, 116, 97, 45, 103, 114, 105, 100,
64, 102, 105, 108, 101, 58, 112, 97, 99, 107, 97, 103,
101, 115, 47, 103, 108, 105, 100, 101, 47, 103, 108, 105,
100, 101, 97, 112, 112, 115, 45, 103, 108, 105, 100, 101,
45, 100, 97, 116,
... 724 more items
]
],
pid: 19409,
stdout: Buffer(0) [Uint8Array] [],
stderr: Buffer(824) [Uint8Array] [
110, 112, 109, 32, 87, 65, 82, 78, 32, 116, 97, 114,
98, 97, 108, 108, 32, 116, 97, 114, 98, 97, 108, 108,
32, 100, 97, 116, 97, 32, 102, 111, 114, 32, 64, 103,
108, 105, 100, 101, 97, 112, 112, 115, 47, 103, 108, 105,
100, 101, 45, 100, 97, 116, 97, 45, 103, 114, 105, 100,
64, 102, 105, 108, 101, 58, 112, 97, 99, 107, 97, 103,
101, 115, 47, 103, 108, 105, 100, 101, 47, 103, 108, 105,
100, 101, 97, 112, 112, 115, 45, 103, 108, 105, 100, 101,
45, 100, 97, 116,
... 724 more items
],
error: null
}

Node.js v20.2.0
npm v9.6.6
```

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.