本文介绍了ELIFECYCLE Node.js错误是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ELIFECYCLE是什么意思?

What does ELIFECYCLE mean?

这是我的应用代码: https://gist.github.com/samholmes/388ca4552c5936b52c5d

当我运行'blast-emails'命令时,它将运行一段时间,直到由于错误而崩溃:

When I run the 'blast-emails' command, it will run for a while until shortly crashing with the error:

npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/root/.nvm/versions/io.js/v1.6.1/bin/iojs" "/root/.nvm/versions/io.js/v1.6.1/bin/npm" "run" "live"
npm ERR! node v1.6.1
npm ERR! npm  v2.7.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] live: `NODE_ENV=production node app.js`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the [email protected] live script 'NODE_ENV=production node app.js'.
npm ERR! This is most likely a problem with the emailer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     NODE_ENV=production node app.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls emailer
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /apps/emailer/npm-debug.log

npm-debug.log文件也包含在要点中.

The npm-debug.log file is also included in the gist.

我正在寻找以下两个答案之一:ELIFECYCLE是什么意思? (或)为什么我的应用程序代码中出现错误?

I'm looking for one of two answers: What does ELIFECYCLE mean? (or) Why am I getting the error in my application code?

推荐答案

基本上是说它未能产生您的进程,不是由于允许,而是由于脚本中的错误. 来源

It's basically saying it fails to spawn your process not due to permission but to an error in your script. Source

执行NODE_ENV=production node app.js没问题吗?

这篇关于ELIFECYCLE Node.js错误是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 21:16