Signal-Desktop: fix too many file descriptors error
This commit is contained in:
parent
262520bde0
commit
f40b28786f
|
@ -23,6 +23,11 @@ post_extract() {
|
|||
|
||||
vsed 's/"node": ".*"/"node": ">=20.0.0"/' -i package.json
|
||||
|
||||
# patch node fs with graceful-fs to avoid using too many file descriptors
|
||||
npm add -D graceful-fs@4.2.11
|
||||
echo "require('graceful-fs').gracefulify(require('fs'));" > ${wrksrc}/use-graceful-fs.js
|
||||
export NODE_OPTIONS="--require ${wrksrc}/use-graceful-fs.js"
|
||||
|
||||
# Install dependencies for sticker-creator
|
||||
npm --prefix ./sticker-creator/ install
|
||||
|
||||
|
|
Loading…
Reference in New Issue