Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WORKAROUND: Spectron v3.8.0 failed to install on x64 windows 10 #265

Closed
mceachen opened this issue Jan 28, 2018 · 0 comments
Closed

WORKAROUND: Spectron v3.8.0 failed to install on x64 windows 10 #265

mceachen opened this issue Jan 28, 2018 · 0 comments

Comments

@mceachen
Copy link
Contributor

mceachen commented Jan 28, 2018

First off--thanks for Spectron! 💯

When I updated to v3.8.0 today, that pulled in "electron-chromedriver": "~1.8.0", which errored out for me:

Error: Generated checksum for "chromedriver-v1.8.0-win32-x64.zip" did not match expected checksum.
    at Hash.hasher.on (...\node_modules\sumchecker\index.js:151:20)
    at emitNone (events.js:106:13)
    at Hash.emit (events.js:208:7)
    at emitReadable_ (_stream_readable.js:513:10)
    at emitReadable (_stream_readable.js:507:7)
    at addChunk (_stream_readable.js:274:7)
    at readableAddChunk (_stream_readable.js:250:11)

I ran yarn with DEBUG=electron-download to see what was going on, and it seems that my download didn't match the checksum, and electron-download doesn't know how to recover from that.

The workaround was to rm -rf ~/AppData/Local/electron and rerun yarn install.

I'm posting this issue (and immediately closing it) to hopefully help other people on windows that get hit by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant