Reputation: 1
I made my first electron app through electronjs documentation.
I ran the application using npm start
command,
but that showing me this error
$ npm start
[email protected] start C:\Users\aksha\OneDrive\Desktop\ElcDocStarter\my-electron-app electron .
'electron' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\aksha\AppData\Roaming\npm-cache\_logs\2021-02-17T08_15_08_284Z-debug.log
Upvotes: 0
Views: 771