-
Notifications
You must be signed in to change notification settings - Fork 127
Install fails on Ubuntu 14.04 #137
Comments
getting same error here npm install electron-prebuilt --save-dev
-
> electron-prebuilt@1.1.1 postinstall /home/test/node_modules/electron-prebuilt
> node install.js
/home/test/node_modules/electron-prebuilt/install.js:22
throw err
^
Error: end of central directory record signature not found
at /home/test/node_modules/electron-prebuilt/node_modules/extract-zip/node_modules/yauzl/index.js:167:14
at /home/test/node_modules/electron-prebuilt/node_modules/extract-zip/node_modules/yauzl/index.js:473:5
at /home/test/node_modules/electron-prebuilt/node_modules/extract-zip/node_modules/yauzl/node_modules/fd-slicer/index.js:32:7
at FSReqWrap.wrapper [as oncomplete] (fs.js:576:17)
npm ERR! Linux 3.13.0-74-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "electron-prebuilt" "--save-dev"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! electron-prebuilt@1.1.1 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-prebuilt@1.1.1 postinstall script 'node install.js'.
npm ERR! This is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/test/npm-debug.log |
@aviaryan, @mrvini could you try the workaround mentioned here and let us know if that works for you? |
@johnmuhl I was able to successfully install electron yesterday so no need. Thanks. I believe my issue had something to do with download speed; when it failed I was getting only around 60 KB/s. After I moved to twice the faster connection, I had no problems. |
Closing this out since the error might be caused by local network issues or issues downloading from GitHub which could have been having downtime or an outage when this happened. |
i am also having the same issue. is their any PPA for electron? root@CLI:~# npm install -g electron-prebuilt npm ERR! A complete log of this run can be found in:
/usr/lib/node_modules/electron-prebuilt/install.js:22 Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron-prebuilt/.electron' npm ERR! A complete log of this run can be found in:
/usr/lib/node_modules/electron-prebuilt/install.js:22 Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron-prebuilt/.electron' npm ERR! A complete log of this run can be found in: |
Install fails on Ubuntu 14.04 . There is a phrase ECONNRESET in the trace which gives the impression this may be a connection issue but my computer is always connected to the Internet.
Attached the npm-debug.log below . Please help me fix this issue.
Thanks
npm-debug.log.tar.gz
The text was updated successfully, but these errors were encountered: