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

Upgrade electron dependencies to fix #64 #66

Merged
merged 10 commits into from
Oct 3, 2019
Merged

Upgrade electron dependencies to fix #64 #66

merged 10 commits into from
Oct 3, 2019

Conversation

ziouf
Copy link
Contributor

@ziouf ziouf commented Jul 4, 2018

I'm facing the following issue :

...
[4/4] Building fresh packages...
error /usr/lib/secretin-app/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /usr/lib/secretin-app/node_modules/electron
Output:
Downloading SHASUMS256.txt
[============================================>] 100.0% of 2.93 kB (2.93 kB/s)
/usr/lib/secretin-app/node_modules/electron/install.js:48
  throw err
  ^

Error: Generated checksum for "electron-v1.7.8-linux-x64.zip" did not match expected checksum.
    at ChecksumMismatchError.ErrorWithFilename (/usr/lib/secretin-app/node_modules/electron-download/node_modules/sumchecker/build.js:41:124)
    at new ChecksumMismatchError (/usr/lib/secretin-app/node_modules/electron-download/node_modules/sumchecker/build.js:56:133)
    at Hash.<anonymous> (/usr/lib/secretin-app/node_modules/electron-download/node_modules/sumchecker/build.js:203:22)
    at emitNone (events.js:105:13)
    at Hash.emit (events.js:207:7)
    at emitReadable_ (_stream_readable.js:516:10)
    at emitReadable (_stream_readable.js:510:7)
    at addChunk (_stream_readable.js:277:7)
    at readableAddChunk (_stream_readable.js:253:11)
    at Hash.Readable.push (_stream_readable.js:211:10)

I Googled and I found the following electron issue with a working solution.

My two cents

agix and others added 10 commits November 6, 2017 18:40
Upgrade to 2.1.1 to fix slow connection issue
Quick and dirty way
Update Options.js to fix #57
Fixes the following exception:
```sh
[4/4] Building fresh packages...
error /usr/lib/secretin-app/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /usr/lib/secretin-app/node_modules/electron
Output:
Downloading SHASUMS256.txt
[============================================>] 100.0% of 2.93 kB (2.93 kB/s)
/usr/lib/secretin-app/node_modules/electron/install.js:48
  throw err
  ^

Error: Generated checksum for "electron-v1.7.8-linux-x64.zip" did not match expected checksum.
    at ChecksumMismatchError.ErrorWithFilename (/usr/lib/secretin-app/node_modules/electron-download/node_modules/sumchecker/build.js:41:124)
    at new ChecksumMismatchError (/usr/lib/secretin-app/node_modules/electron-download/node_modules/sumchecker/build.js:56:133)
    at Hash.<anonymous> (/usr/lib/secretin-app/node_modules/electron-download/node_modules/sumchecker/build.js:203:22)
    at emitNone (events.js:105:13)
    at Hash.emit (events.js:207:7)
    at emitReadable_ (_stream_readable.js:516:10)
    at emitReadable (_stream_readable.js:510:7)
    at addChunk (_stream_readable.js:277:7)
    at readableAddChunk (_stream_readable.js:253:11)
    at Hash.Readable.push (_stream_readable.js:211:10)
```
@agix agix merged commit a902f34 into secretin:master Oct 3, 2019
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

Successfully merging this pull request may close these issues.

2 participants