使用socket和angular.js

时间:2016-03-11 08:29:31

标签: angularjs node.js express socket.io

我在我的node.js表达项目中使用socket和angular.js作为注释部分并获得跟随错误。

 (node) warning: possible EventEmitter memory leak detected.
 11 clear_comments listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
 at Namespace.addListener (events.js:252:17)
 at Server.(anonymous function) [as on] (/home/comeoutloud/public_html/node_modules/socket.io/lib/index.js:369:16)
 at Namespace.<anonymous> (/home/comeoutloud/public_html/controllers/usermains.js:1761:10)
 at emitOne (events.js:90:13)
at Namespace.emit (events.js:182:7)
at Namespace.emit (/home/comeoutloud/public_html/node_modules/socket.io/lib/namespace.js:206:10)
at /home/comeoutloud/public_html/node_modules/socket.io/lib/namespace.js:174:14
at _combinedTickCallback (node.js:370:9)
at process._tickCallback (node.js:401:11)

0 个答案:

没有答案