Read the statement by Michael Teeuw here.
Error Running Install Script
-
I don’t know that it matters, but I’ve done all my MM installations while directly connected through ethernet, (not wif-fi). Also, in lieu of the automatic install script, I’ve done manual installations that were error free.
If you don’t find a solution here, you could try deleting electron and reinstalling just that, as it appears the errors are electron based. If you are forced to start again from the beginning, I recommend following the tutorial precisely.
Good luck.
-
I have the same problem. Can any help?
-
I installed electron@1.6.9 and it works.
-
-
How can I download the v.1.6.9?
-
@uzumon Thank you - that solved it for me.
-
@Lausbuab1 sudo npm install electron@1.6.9 -g
-
Found the solution for the problem:
Automatic installation script run through if I make the following:
This should be fixed now, I’ve added these missing entries to the file at https://github.com/electron/electron/releases/download/v1.6.10/SHASUMS256.txt
You will need to delete the cached ~/.electron/SHASUMS256.txt-1.6.10 before re-installing, please confirm if it now works for you.
(Author for Electron has written on his github)
-
@Lausbuab1 Tried downloading 1.6.9 and got this
pi@raspberrypi:~ $ sudo npm install electron@1.6.9 -g /usr/bin/electron -> /usr/lib/node_modules/electron/cli.js > electron@1.6.9 postinstall /usr/lib/node_modules/electron > node install.js /usr/lib/node_modules/electron/install.js:47 throw err ^ Error: read ECONNRESET at exports._errnoException (util.js:1018:11) at TLSWrap.onread (net.js:568:26) npm ERR! Linux 4.9.24-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron@1.6.9" "-g" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! electron@1.6.9 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.6.9 postinstall script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the electron 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 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/npm-debug.log