I am following the quick installtion guide on electron :http://electron.atom.io/
Script:
git clone https://github.com/electron/electron-quick-start
cd electron-quick-start
npm install && npm start
The installation is stuck at :
Node Install.js
- this command is executed with npm install && npm start
.
Is there a way i could find out what node install.js
is doing in the backend to workout why it's stuck?
To solve the issue, try removing the entire node_modules/ folder and the package-lock. json file. Then try running the npm install command again. That may fix the issue.
Follow the prompts to select an install path and ensure the npm package manager feature is included along with the Node. js runtime. This should be the default configuration. Restart your computer after the installation is complete.
with --verbose
it makes it much more obvious if you're somehow interrupting the electron module download during node_modules install
this will help to correct this by observing the download and installation process with:
npm install electron -g --verbose
With this command you will install global Electron. You can not cancel until the download process is complete. Delete the folder node_modules and reinstall.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With