I'm getting this warning message whenever I'm starting my ember server and I don't know what causes ember-cli-meta-tags to ask for more listeners but for now, I'm using this quick fix process.setMaxListeners(21) on my ember-cli-build.js.
The warning goes away when I have process.setMaxListeners(21). Is this the right approach?
(node) warning: possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at process.addListener (events.js:239:17)
at Object.<anonymous> (/Users/jake/Sites/pizza-ordering/client/node_modules/ember-cli-meta-tags/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/broccoli-merge-trees/node_modules/can-symlink/node_modules/tmp/lib/tmp.js:449:9)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/jake/Sites/pizza-ordering/client/node_modules/ember-cli-meta-tags/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/broccoli-merge-trees/node_modules/can-symlink/index.js:1:73)
at Module._compile (module.js:434:26)
Good day,
I'm getting this warning message whenever I'm starting my
ember server
and I don't know what causesember-cli-meta-tags
to ask for more listeners but for now, I'm using this quick fixprocess.setMaxListeners(21)
on myember-cli-build.js
.The warning goes away when I have
process.setMaxListeners(21)
. Is this the right approach?https://github.com/ember-cli/ember-cli/pull/5987 is also suggesting to increase
process.setMaxListeners
.and here's my package.json for reference