Electron-builder: Failed to Find Electron v1.8.0

Created on 22 Sep 2017  路  3Comments  路  Source: electron-userland/electron-builder


  • Version: Latest Version ( by "yarn add electron-builder" )

  • Target: Windows x64

I followed instructions and run "yarn dist" yielding:

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

obviously v.1.8.0 is not available and has been moved from github.

question

Most helpful comment

I guess problem is that your node modules contained electron 1.8.0 Please change

"electron": "^1.7.6",

to

"electron": "~1.7.6",

and run yarn to update node_modules.

Recommended to not use ^ for electron version (or even ~) to be sure that tested and proven electron version is used for your app.

All 3 comments

Btw: I did not declare to use v.1.8.0

Snippet of my package.json:

"devDependencies": {
"electron": "^1.7.6",
"electron-builder": "^19.27.7"
},

I have also encountered the same problem.

image

I guess problem is that your node modules contained electron 1.8.0 Please change

"electron": "^1.7.6",

to

"electron": "~1.7.6",

and run yarn to update node_modules.

Recommended to not use ^ for electron version (or even ~) to be sure that tested and proven electron version is used for your app.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NPellet picture NPellet  路  3Comments

leo picture leo  路  3Comments

mstralka picture mstralka  路  3Comments

antonycourtney picture antonycourtney  路  3Comments

jhg picture jhg  路  3Comments