其实还很远 2017-12-11 09:30 采纳率: 0%
浏览 2110
已结题

gulp . watch出现的问题

<--- JS stacktrace --->
Cannot get stack trace in GC.
FATAL ERROR: MarkCompactCollector: semi-space copy, fallback in old gen Allocation failed - JavaScript heap out of memory
sh: line 1: 35606 Abort trap: 6 NODE_ENV=localWillclass supervisor -i ./public,./build ./bin/twww

npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "localWillclass"
npm ERR! node v6.1.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! willclass@4.2.20170901 localWillclass: NODE_ENV=localWillclass supervisor -i ./public,./build ./bin/twww && gulp deploy --silent
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the willclass@4.2.20170901 localWillclass script 'NODE_ENV=localWillclass supervisor -i ./public,./build ./bin/twww && gulp deploy --silent'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the willclass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=localWillclass supervisor -i ./public,./build ./bin/twww && gulp deploy --silent
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs willclass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls willclass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/shuai/huitong/willclass/npm-debug.log

  • 写回答

1条回答 默认 最新

  • 其实还很远 2017-12-12 02:05
    关注

    这个问题是node内存泄漏造成的。因为node是单线程的,所有的访问走的一个线程,如果执行完一个,占用内存增加,但是没有释放的话,就造成内存泄漏,内存泄漏其实就是存储泄漏,而造成的原因就是内存分配超过了v8内存的限制数量,而且进程所占用的内存,并没有慢慢释放回来,

    评论

报告相同问题?

悬赏问题

  • ¥15 八爪鱼爬数据为什么自己停了
  • ¥15 交替优化波束形成和ris反射角使保密速率最大化
  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率