我在Ubuntu上使用Node v4.2.6和npm v3.5.2,我从github克隆我的proyect并安装所有模块。当我做npm开始它的运行正常,但是当我尝试再次运行它开始崩溃并且我发现使它再次工作的唯一方法是重新克隆该项目。 这是一个罕见而虚拟的问题,我认为,有人可以帮助我吗?请原谅我的英语不好,这里是NPM-错误的debug.log:'npm start'错误
17 error Linux 4.4.0-92-generic
18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "lite"
19 error node v4.2.6
20 error npm v3.5.2
21 error code ELIFECYCLE
22 error [email protected] lite:
lite-server
22 error Exit status 1
23 error Failed at the [email protected] lite script 'lite-server'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the firstApp-client package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error lite-server
23 error You can get information on how to open an issue for this project with:
23 error npm bugs firstApp-client
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls firstApp-client
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
您应该在'package.json'中包含'start'的值,以便我们可以看到命令'npm start'实际上在运行。 – EmptyArsenal
只是为了记录,你是否停止以'npm stop'开始项目的上一次开始? – Hackerman
感谢您的评论,是的,我再次执行它之前停止npm。我会看到我的package.json文件 – andres