Getaddrinfo ENOTFOUND github.com - Builds failing on snapcraft.io due to network problems?

The build machines require use of a proxy to reach the outside world. I think something in electron-packager or one of its dependent packages is ignoring the configured HTTP proxy. You can see that other things are working just fine - not far back in the log there are a bunch of requests to registry.npmjs.org that get HTTP 200 responses and are generally perfectly happy.