Random crash when hot reloading
See original GitHub issueI tried multiple times to change files and see the results with hot reloading, but it randomly crashes after a few changes, or sometimes even at the first change.
I get the following errors in cmd:
npm ERR! Windows_NT 10.0.15063 npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “run” “electron:serve” npm ERR! node v6.10.3 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! angular-electron@1.3.5 electron:serve:
electron . --serve
npm ERR! Exit status 3221225477 npm ERR! npm ERR! Failed at the angular-electron@1.3.5 electron:serve script ‘electron . --serve’. 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 angular-electron package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron . --serve npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular-electron npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls angular-electron npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Coddo\Desktop\Angular4Tutorial\angular-electron\npm-debug.log
The npm-debug.log file contains the following: https://pastebin.com/z7RLt6tw
And I’m not sure if this helps or what actually it is implying, but I get Electron could not be found. No hard resets for you!
each time I run npm run electron:serve
.
I have 2 consoles and I’ve run the app as described in the readme file:
- cmd1: npm start
- cmd2: npm run electron:serve
The crash occurs in cmd2
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:14 (3 by maintainers)
Top GitHub Comments
I had the same, I updated electron to the last and problem solve, in the same time I also updated Angular to last version 4.2.6 Here is my modified package.json
…
@coddo did you found any solution? me too getting same issue.