问答详情
源自:3-1 创建Electron工程

怎么出错了

C:\Users\LWCX>cd demo


C:\Users\LWCX\demo>npm start


> demo@1.0.0 start C:\Users\LWCX\demo

> electron .



 npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! demo@1.0.0 start: `electron .`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the demo@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:

npm ERR!     C:\Users\LWCX\AppData\Roaming\npm-cache\_logs\2019-08-12T07_32_08_474Z-debug.log


提问者:张艺兴的女人 2019-08-12 15:34

个回答

  • Noidea_0
    2020-02-25 19:15:47

    package.json看看对不对