Error: Failed to find Electron v1.8.0 for linux-x64 at https://github.com/electron/electron/releases/download/v1.8.0/electron-v1.8.0-linux-x64.zip


#1

Whilst deploying the latest version of our backend app I get the following error message:

Error: Failed to find Electron v1.8.0 for linux-x64 at https://github.com/electron/electron/releases/download/v1.8.0/electron-v1.8.0-linux-x64.zip

As a consequence, our deploy is failing.

This is the log:

2017-09-24 16:33:30+08:00
v0155
2017-09-24 16:33:30+08:00> electron@1.8.0 postinstall /app/bundle/programs/server/npm/node_modules/electron
v0155
2017-09-24 16:33:30+08:00> node install.js
v0155
2017-09-24 16:33:30+08:00
v0155
2017-09-24 16:33:31+08:00/app/bundle/programs/server/npm/node_modules/electron/install.js:48
v0155
2017-09-24 16:33:31+08:00 throw err
v0155
2017-09-24 16:33:31+08:00 ^
v0155
2017-09-24 16:33:31+08:00
v0155
2017-09-24 16:33:31+08:00Error: Failed to find Electron v1.8.0 for linux-x64 at https://github.com/electron/electron/releases/download/v1.8.0/electron-v1.8.0-linux-x64.zip
v0155
2017-09-24 16:33:31+08:00 at Request.<anonymous> (/app/bundle/programs/server/npm/node_modules/nugget/index.js:169:61)
v0155
2017-09-24 16:33:31+08:00 at emitOne (events.js:77:13)
v0155
2017-09-24 16:33:31+08:00 at Request.emit (events.js:169:7)
v0155
2017-09-24 16:33:31+08:00 at Request.onRequestResponse (/app/bundle/programs/server/npm/node_modules/request/request.js:1074:10)
v0155
2017-09-24 16:33:31+08:00 at emitOne (events.js:77:13)
v0155
2017-09-24 16:33:31+08:00 at ClientRequest.emit (events.js:169:7)
v0155
2017-09-24 16:33:31+08:00 at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:433:21)
v0155
2017-09-24 16:33:31+08:00 at HTTPParser.parserOnHeadersComplete (_http_common.js:97:23)
v0155
2017-09-24 16:33:31+08:00 at TLSSocket.socketOnData (_http_client.js:322:20)
v0155
2017-09-24 16:33:31+08:00 at emitOne (events.js:77:13)
v0155
2017-09-24 16:33:31+08:00npm ERR! code ELIFECYCLE
v0155
2017-09-24 16:33:31+08:00npm ERR! errno 1
v0155
2017-09-24 16:33:31+08:00npm ERR! electron@1.8.0 postinstall: `node install.js`
v0155
2017-09-24 16:33:31+08:00npm ERR! Exit status 1
v0155
2017-09-24 16:33:31+08:00npm ERR!
v0155
2017-09-24 16:33:31+08:00npm ERR! Failed at the electron@1.8.0 postinstall script.
v0155
2017-09-24 16:33:31+08:00npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
v0155
2017-09-24 16:33:31+08:00
v0155
2017-09-24 16:33:31+08:00npm ERR! A complete log of this run can be found in:
v0155
2017-09-24 16:33:31+08:00npm ERR! /root/.npm/_logs/2017-09-24T08_33_31_272Z-debug.log

Does anyone have a suggestion to solve this? This version has some critical bug fixes in it.

Thanks in advance,

Andreas


#2

Seems it’s down to a security issue that this version was removed. Found this in my Yarn log file:

warning nightmare > electron@1.8.0: this beta version of electron has been removed due to a security vulnerability. To get the latest beta, run ‘npm install electron@beta’


#3

Unfortunately there seems to be no way to force the Galaxy script to take version 1.7.8. Even though it’s named in the Yarn.lock, packages.json and packages-lock.json file.

Wonderful, that is the downside of managed services. At least we could fix it ourselves if we would manage it :frowning: