0
I’m trying to install Electron in windows 10 using these commands:
- git clone https://github.com/electron/electron-quick-start
- cd electron-quick-start
- npm install && npm start
I’m following in the footsteps of this website, but still I’m getting these mistakes:
> [email protected] postinstall C:\Users\System\Desktop\project\electron-quick-start\node_modules\electron
> node install.js
'node' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.
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.
So far, the number I use is as up to date as possible with the version 10.16.3 and npm 6.11.3.
What should I do to fix this mistake?
Thanks for the tutorial. The Node error is gone, but now another error has appeared tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80 at Clientrequest.onerror Whatever this is, you have some idea?
– sYsTeM
" tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80 at Clientrequest.onerror O". This error occurs at which time?
– Taffarel Xavier
When I give npm install after downloading Electron from github. Here are more details https://pastebin.com/8FaPWY2K
– sYsTeM
Usually this is a proxy problem, if you do not use proxy, try using this command: >npm config set proxy null >npm config set https-proxy null
– Edward Ramos
@System does not forget to upvote my answer :D
– Edward Ramos
If you have a proxy, ai you use the following command: >npm config set proxy http://proxyhost:proxyport >npm config set https-proxy http://proxyhost:proxyport Do not forget to see if it is http or https
– Edward Ramos
Thanks man, here worked on the fly
– sYsTeM