Coder Social home page Coder Social logo

Comments (11)

c7pt7in avatar c7pt7in commented on August 11, 2024 12

updating electron-packager worked for me

npm install electron-packager -g

from electron-prebuilt.

 avatar commented on August 11, 2024 11

Getting a similar error while trying to install Electron 1.7.5, on Ubuntu 16.04.

Error: Generated checksum for "electron-v1.7.5-linux-x64.zip" did not match expected checksum.
    at ChecksumMismatchError.ErrorWithFilename (/path/to/project/node_modules/sumchecker/build.js:41:124)
    at new ChecksumMismatchError (/path/to/project/node_modules/sumchecker/build.js:56:133)
    at Hash.<anonymous> (/path/to/project/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)

from electron-prebuilt.

G07cha avatar G07cha commented on August 11, 2024 8

Hi @runrog, please don't comment "+1", if you have a similar problem and don't have additional details to add, please use 👍 emotion on OP's post. This will prevent constant notifications that repo's owners and participants receiving and reduce the number of overall comments so it will be easier to focus on important information.

from electron-prebuilt.

claygriffiths avatar claygriffiths commented on August 11, 2024 4

Rolling back to Node v6.9.2 with nvm fixed this on Bitrise CI.

I tried Node v7.3.0 but ran into the same issue. I'm not sure if malept/sumchecker#5 is the fix but it's in sumchecker 2.0.2 and electron-downloader is using sumchecker 2.0.1.

from electron-prebuilt.

tarruda avatar tarruda commented on August 11, 2024 2

For anyone still facing this issue, try this fix

from electron-prebuilt.

nZeus avatar nZeus commented on August 11, 2024 2

... But then I switched to node 6.12.0, and I could finally install it :/

from electron-prebuilt.

runrog avatar runrog commented on August 11, 2024

+1

from electron-prebuilt.

james-Airwallex avatar james-Airwallex commented on August 11, 2024

I can confirm the same issue as OP on node:alpine

FROM node:latest

ADD dist /srv/node/web/dist
ADD deployment /srv/node/web

WORKDIR web

RUN npm i --only=dev

ENV BUILD_DIR=dist
ENV PORT=8080

EXPOSE 8080

CMD ["node", "server.js"]

from electron-prebuilt.

zeke avatar zeke commented on August 11, 2024

We can fix this, but I want to first get a sense of users are still affected by it, as its an older version of Electron.

The electron-prebuilt repo is being retired and its code has been moved into the electron/electron repo. For the sake of historical transparency, we will leave GitHub Issues enabled on this repository, but if you are still affected by the issue reported here, please open a new issue on electron/electron repo and reference this issue from it so people can get the full context. The electron repository has a large and active contributor community, so your issue is more likely to get the attention it deserves there. Thanks!

from electron-prebuilt.

nZeus avatar nZeus commented on August 11, 2024

I'm still facing this issue,

npm install electron-packager -g didn't help, resolutions didn't help...

Trying to install [email protected]:

C:\Projects\GIS>npm install                                                                                                                                      
                                                                                                                                                                 
> [email protected] postinstall C:\Projects\GIS\node_modules\electron                                                                                               
> node install.js                                                                                                                                                
                                                                                                                                                                 
Downloading electron-v2.0.5-win32-x64.zip                                                                                                                        
[============================================>] 100.0% of 50.7 MB (11.93 MB/s)                                                                                   
C:\Projects\GIS\node_modules\electron\install.js:47                                                                                                              
  throw err                                                                                                                                                      
  ^                                                                                                                                                              
                                                                                                                                                                 
Error                                                                                                                                                            
    at ChecksumMismatchError.ErrorWithFilename (C:\Projects\GIS\node_modules\sumchecker\build.js:41:124)                                                         
    at new ChecksumMismatchError (C:\Projects\GIS\node_modules\sumchecker\build.js:56:127)                                                                       
    at Hash.<anonymous> (C:\Projects\GIS\node_modules\sumchecker\build.js:196:22)                                                                                
    at Hash.emit (events.js:180:13)                                                                                                                              
    at emitReadable_ (_stream_readable.js:520:10)                                                                                                                
    at emitReadable (_stream_readable.js:514:7)                                                                                                                  
    at addChunk (_stream_readable.js:280:7)                                                                                                                      
    at readableAddChunk (_stream_readable.js:256:11)                                                                                                             
    at Hash.Readable.push (_stream_readable.js:213:10)                                                                                                           
    at Hash.Transform.push (_stream_transform.js:146:32)                                                                                                         
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):                                                                          
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
                                                                                                                                                                 
npm ERR! code ELIFECYCLE                                                                                                                                         
npm ERR! errno 1                                                                                                                                                 
npm ERR! [email protected] postinstall: `node install.js`                                                                                                           
npm ERR! Exit status 1                                                                                                                                           
npm ERR!                                                                                                                                                         
npm ERR! Failed at the [email protected] postinstall script.                                                                                                        
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.                                                               
                                                                                                                                                                 
npm ERR! A complete log of this run can be found in:                                                                                                             
npm ERR!     C:\Users\i.tsvetkov\AppData\Roaming\npm-cache\_logs\2018-07-31T09_51_36_988Z-debug.log                                                              

from electron-prebuilt.

fincha avatar fincha commented on August 11, 2024

have the same issue with node 8, ubuntu 18

Error: Generated checksum for "electron-v2.0.9-linux-x64.zip" did not match expected checksum.
at ChecksumMismatchError.ErrorWithFilename (/usr/local/lib/node_modules/electron/node_modules/sumchecker/build.js:41:124)
at new ChecksumMismatchError (/usr/local/lib/node_modules/electron/node_modules/sumchecker/build.js:56:133)
at Hash. (/usr/local/lib/node_modules/electron/node_modules/sumchecker/build.js:203:22)
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)
at Hash.Readable.push (_stream_readable.js:208:10)

from electron-prebuilt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.