npm install network errors with build.snapcraft.io proxy configuration
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Snapcraft |
Confirmed
|
High
|
Chris Patterson | ||
| launchpad-buildd |
New
|
Undecided
|
Unassigned | ||
Bug Description
Note: I originally discovered this issue last year and it got fixed upstream with electron-packager (https:/
My snapcraft.yaml (https:/
Full build log here: https:/
I was able to work around this issue by adding the following to my snapcraft.yaml but it would be great if this could be fixed. I suspect it's probably an upstream bug again, but perhaps there's something that could be changed about the build server configuration to reduce these types of errors?
if [ -n "$http_proxy" ]; then
export ELECTRON_
export GLOBAL_
export GLOBAL_
fi
| Changed in snapcraft: | |
| assignee: | nobody → Chris Patterson (cjp256) |
| importance: | Undecided → High |
| status: | New → Confirmed |



adding launchpad, perhaps these vars could just be added to the build env by default.