Install and proxy problems
pnpm install can succeed while Electron’s separate platform binary download fails.
Configure the downloader
Section titled “Configure the downloader”export ELECTRON_GET_USE_PROXY=trueexport HTTPS_PROXY=http://proxy.example.com:8080export HTTP_PROXY=$HTTPS_PROXYexport NO_PROXY=localhost,127.0.0.1,::1export NODE_EXTRA_CA_CERTS=/path/to/corporate-ca.pempnpm --filter @nervekit/desktop-shell rebuild electronpnpm desktopPowerShell:
$env:ELECTRON_GET_USE_PROXY = "true"$env:HTTPS_PROXY = "http://proxy.example.com:8080"$env:HTTP_PROXY = $env:HTTPS_PROXY$env:NO_PROXY = "localhost,127.0.0.1,::1"$env:NODE_EXTRA_CA_CERTS = "C:\path\to\corporate-ca.pem"pnpm --filter @nervekit/desktop-shell rebuild electronpnpm desktopSet NODE_EXTRA_CA_CERTS only for a real TLS-interception CA. If your company mirrors Electron artifacts, set ELECTRON_MIRROR before rebuild. Clear a partial Electron cache if the same corrupt download is reused.
Cache locations: ~/.cache/electron on Linux, ~/Library/Caches/electron on macOS, and %LOCALAPPDATA%\electron\Cache on Windows.
The desktop launcher adds loopback to proxy bypass. Use user-level pnpm proxy config rather than a repository .npmrc containing secrets. Run NERVE_DEBUG_PROXY=1 for redacted diagnostics.