I am trying to build theia-full behind an enterprise proxy. Despite setting up the proxy ( ENV VAR / yarn set config …/ npm config set … / and adding the proxy in the package.json), the installation fail with a DNS request :
error /home/theia/node_modules/vscode-ripgrep: Command failed.
Exit code: 1
Command: node ./lib/postinstall.js
Arguments:
Directory: /home/theia/node_modules/vscode-ripgrep
Output:
Finding release for v11.0.1-2
GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v11.0.1-2
events.js:174
throw er; // Unhandled 'error' event
^
Error: getaddrinfo EAI_AGAIN api.github.com api.github.com:443
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
Emitted 'error' event at:
at TLSSocket.socketErrorListener (_http_client.js:392:9)
at TLSSocket.emit (events.js:189:13)
[original thread by agabet]