首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >ELIFECYCLE Node.js错误是什么意思?

ELIFECYCLE Node.js错误是什么意思?
EN

Stack Overflow用户
提问于 2015-06-10 08:07:03
回答 14查看 424K关注 0票数 233

ELIFECYCLE是什么意思?

下面是我的应用程序代码:https://gist.github.com/samholmes/388ca4552c5936b52c5d

当我运行'blast-emails‘命令时,它会运行一段时间,直到很快崩溃并出现以下错误:

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! emailer@0.0.0 live: `NODE_ENV=production node app.js`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the emailer@0.0.0 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文件也包含在要点中。

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

EN

回答 14

Stack Overflow用户

发布于 2015-06-10 14:54:10

它基本上是说,它无法产生您的进程,不是由于权限,而是因为您的脚本中的错误。Source

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

票数 68
EN

Stack Overflow用户

发布于 2018-06-08 19:18:13

在我的例子中,这是因为RAM内存太低,照片压缩库无法处理更大的照片。

票数 23
EN

Stack Overflow用户

发布于 2017-11-21 14:46:41

在运行Webpack构建时,我收到了类似的错误,因为node不能理解旧版本中的async await关键字。我加了webpack babel-plugin-transform-async-to-generator,解决了。这用承诺取代了它们。

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30744964

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档