【发布时间】:2020-09-09 10:00:59
【问题描述】:
当我执行 npm start 时,它给了我这个错误(它是意大利语,但你可以使用谷歌翻译):
npm start
> codeeditor@1.0.0 start D:\CodeEditor
> electron .
"electron" non ▒ riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! codeeditor@1.0.0 start: `electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the codeeditor@1.0.0 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\Giovanni\AppData\Roaming\npm-cache\_logs\2020-05-22T14_13_45_030Z-debug.log
谢谢你的帮助;)
【问题讨论】:
-
一个更详细的问题将不胜感激,关于你尝试了什么,你开始了什么。
-
看起来
electron不可用。有没有试过全局安装npm install -g electron??