You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, could someone help me figure out what can be done to help me package mirotalk
I don't have much practice with npm\javascript.
It seems that one of the dependencies ngrok (seems to be nodejs wrapper) tries to download something (binary of the ngrok?) in the postinstall.js script
ngrok is packaged in nix, and I tried to add it as a buildInputs, but that didn't help in any way
At the end I'll add link to flake I try to build
And here is what error looks like:
[efim@chunky:~/Documents/personal/mirotalk-p2p]$ nix log /nix/store/viy2gbxdn277vnz21fma6v4qilw57nc1-mirotalk-1.0.0.drv
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/cpjk025npwvrrsasgh7wl0nx5cqyvbk9-vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source
source root is vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "yarnConfigPhase" }
yarnConfigPhase
@nix { "action": "setPhase", "phase": "yarnCachePhase" }
yarnCachePhase
@nix { "action": "setPhase", "phase": "buildPhase" }
building
patching script interpreter paths in .
./app/api/meeting/meeting.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/pbfraw351mksnkp2ni9c4rkc9cpp89iv-bash-5.1-p12/bin>yarn install v1.22.17
warning Skipping preferred cache folder "/homeless-shelter/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/build/.yarn-cache-1000".
[1/4] Resolving packages...
[2/4] Fetching packages...
[] 0/132[] 10/132[] 16/132[] 30/132[] 44/132[] 57/132[] 63/132[] 71/132[] 79/132[] 91/132[] 100/132[] 107/132[] 114/132[] 123/132[] 129/132[] 1>[] 132/132[] 0/138[] 0/1231[] 510/1231[] 1020/1231[] 0/262patching shebangs
[] 262/262[4/4] Building fresh packages...
warning Cannot find a suitable global folder. Tried these: "/usr/local, /homeless-shelter/.yarn"
error /build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/ngrok: Command failed.
Exit code: 1
Command: node ./postinstall.js
Arguments:
Directory: /build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/ngrok
Output:
ngrok - downloading binary https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
ngrok - downloading progress:
ngrok - error downloading from URL RequestError: getaddrinfo ENOTFOUND bin.equinox.io
at ClientRequest.<anonymous> (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/got/dist/source/core/index.js:962:111)
at Object.onceWrapper (node:events:510:26)
at ClientRequest.emit (node:events:402:35)
at ClientRequest.origin.emit (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
code: 'ENOTFOUND',
timings: {
start: 1644790725716,
socket: 1644790725718,
lookup: 1644790725719,
connect: undefined,
secureConnect: undefined,
upload: undefined,
response: undefined,
end: undefined,
error: 1644790725719,
abort: undefined,
phases: {
wait: 2,
dns: 1,
tcp: undefined,
tls: undefined,
request: undefined,
firstByte: undefined,
download: undefined,
total: 3
}
}
}
ngrok - install failed, retrying
ngrok - downloading binary https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
ngrok - downloading progress:
}
ngrok - install failed, retrying
ngrok - downloading binary https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
ngrok - downloading progress:
ngrok - error downloading from URL RequestError: getaddrinfo ENOTFOUND bin.equinox.io
at ClientRequest.<anonymous> (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/got/dist/source/core/index.js:962:111)
at Object.onceWrapper (node:events:510:26)
at ClientRequest.emit (node:events:402:35)
at ClientRequest.origin.emit (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
code: 'ENOTFOUND',
timings: {
start: 1644790726226,
socket: 1644790726226,
lookup: 1644790726226,
connect: undefined,
secureConnect: undefined,
upload: undefined,
response: undefined,
end: undefined,
error: 1644790726226,
abort: undefined,
phases: {
wait: 0,
dns: 0,
tcp: undefined,
tls: undefined,
request: undefined,
firstByte: undefined,
download: undefined,
total: 0
}
}
}
ngrok - install failed, retrying
ngrok - downloading binary https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
ngrok - downloading progress:
ngrok - error downloading from URL RequestError: getaddrinfo ENOTFOUND bin.equinox.io
at ClientRequest.<anonymous> (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/got/dist/source/core/index.js:962:111)
at Object.onceWrapper (node:events:510:26)
at ClientRequest.emit (node:events:402:35)
at ClientRequest.origin.emit (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
code: 'ENOTFOUND',
timings: {
start: 1644790726729,
socket: 1644790726730,
lookup: 1644790726730,
connect: undefined,
secureConnect: undefined,
upload: undefined,
response: undefined,
end: undefined,
error: 1644790726730,
abort: undefined,
phases: {
wait: 1,
dns: 0,
tcp: undefined,
tls: undefined,
request: undefined,
firstByte: undefined,
download: undefined,
total: 1
}
}
}
ngrok - install failed RequestError: getaddrinfo ENOTFOUND bin.equinox.io
at ClientRequest.<anonymous> (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/got/dist/source/core/index.js:962:111)
at Object.onceWrapper (node:events:510:26)
at ClientRequest.emit (node:events:402:35)
at ClientRequest.origin.emit (/build/vifixhsf04xxm4vj2hjqzd5jn0qzjr7g-source/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
code: 'ENOTFOUND',
timings: {
start: 1644790726729,
socket: 1644790726730,
lookup: 1644790726730,
connect: undefined,
secureConnect: undefined,
upload: undefined,
response: undefined,
end: undefined,
error: 1644790726730,
abort: undefined,
phases: {
wait: 1,
dns: 0,
tcp: undefined,
tls: undefined,
request: undefined,
firstByte: undefined,
download: undefined,
total: 1
}
}
}
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I had some experience with packaging python and sometimes 2nix tools allow to override some dependency from language specific builder to one from nixpkgs,
so maybe I could manually package node module "ngrok" and have it use binary from nixpkgs, but that doesn't sound simple
The text was updated successfully, but these errors were encountered:
Hello, could someone help me figure out what can be done to help me package mirotalk
I don't have much practice with npm\javascript.
It seems that one of the dependencies
ngrok
(seems to be nodejs wrapper) tries to download something (binary of the ngrok?) in thepostinstall.js
scriptngrok is packaged in nix, and I tried to add it as a
buildInputs
, but that didn't help in any wayAt the end I'll add link to flake I try to build
And here is what error looks like:
here is link with my flake.nix contents: https://0x0.st/o8or.txt
Is there anything I could do here?
I had some experience with packaging python and sometimes 2nix tools allow to override some dependency from language specific builder to one from nixpkgs,
so maybe I could manually package node module "ngrok" and have it use binary from nixpkgs, but that doesn't sound simple
The text was updated successfully, but these errors were encountered: