Closed bbhtt closed 2 years ago
Started test build 102309
Build 102309 failed
Started test build 102380
Started test build 102380
The nw-vue-devtools-prebuilt package is trying to download this extension https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd https://github.com/DimPaDev/nw-vue-devtools-prebuilt/blob/e99c4f705c05e003a680d1632022f87d57921b72/install.js#L4
error /run/build/betaflight-configurator/node_modules/nw-vue-devtools-prebuilt: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /run/build/betaflight-configurator/node_modules/nw-vue-devtools-prebuilt
Output:
node:events:505
throw er; // Unhandled 'error' event
^
ErrorClass [RequestError]: getaddrinfo EAI_AGAIN update.googleapis.com
at ClientRequest.<anonymous> (/run/build/betaflight-configurator/node_modules/got/index.js:73:21)
at Object.onceWrapper (node:events:642:26)
at ClientRequest.emit (node:events:527:28)
at TLSSocket.socketErrorListener (node:_http_client:454:9)
at TLSSocket.emit (node:events:527: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)
Emitted 'error' event on DuplexWrapper instance at:
at EventEmitter.emit (node:events:527:28)
at ClientRequest.<anonymous> (/run/build/betaflight-configurator/node_modules/got/index.js:73:7)
at Object.onceWrapper (node:events:642:26)
[... lines matching original stack trace ...]
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'EAI_AGAIN',
host: 'update.googleapis.com',
hostname: 'update.googleapis.com',
method: 'GET',
path: '/service/update2/crx?response=redirect&acceptformat=crx3&prodversion=38.0&testsource=download-crx&x=id%3Dnhdogjmejiglipccpnnnanhbledajbpd%26installsource%3Dondemand%26uc'
}
Build 102380 failed
I can get around that error with "jq 'del( .dependencies.\"nw-vue-devtools-prebuilt\")' <<<$(<package.json) > package.json",
but that might break the debug mode, which seems something they ship unfortunatly.
I'll try to build this from the .deb, which is probably better then not having it at all.
This is unfortunately blocked on https://github.com/flathub/io.github.betaflight.BetaflightConfigurator/pull/6#issuecomment-1196192421 because I can't find a way to build that package in an offline environment.
I'll leave this open. Feel free to push changes to this branch or use these changes. Thanks!