npm ERR! code ELIFECYCLE
npm ERR! errno 3221225785
npm ERR! electron-quick-start@1.0.0 start: `electron .`
npm ERR! Exit status 3221225785
npm ERR!
npm ERR! Failed at the electron-quick-start@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
试了好多方法都不行,突然想到是不是版本的问题
看了一下我的electron版本是23.1.1
先在package.json文件中把它改成13.6.9版本
重新下载
npm install electron
然后运行就可以了
npm start
周一开心~