foundation-cli icon indicating copy to clipboard operation
foundation-cli copied to clipboard

Possible EventEmitter memory leak detected. 11 error listeners added.

Open ericjim opened this issue 9 years ago • 3 comments

I get the following warning message when invoking the cli.

Erics-MBP:autok eric$ foundation new
? What are you building today? A website (Foundation for Sites)
? What's the project called? (no spaces) autok
? Which template would you like to use? ZURB Template: includes Handlebars templates and Sass/JS compilers

            .
           /|     ,
      , /|/  \/| /|       Thanks for using ZURB Foundation for Sites!
     /|/       |/ |       -------------------------------------------
 |___|            |___|   Let's set up a new project.
 \___|  ^^   ^^   |___/   It shouldn't take more than a minute.
     | -[O]--[O]- |
     |    ___,    |
     |    ...     |
      \__________/


Downloading the project template...
Done downloading!

Installing dependencies...

(node:26925) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:26925) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:26925) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:26925) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:26925) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit

However the project does get created and it works.

ericjim avatar Aug 28 '16 18:08 ericjim

I have the same problem. Do you get to solve this?

JessDelAngel avatar Sep 19 '16 20:09 JessDelAngel

Yes it works but it really takes time to create a new project.

ahoymajo avatar Oct 05 '16 18:10 ahoymajo

@JessDelAngel @ericjim @ahoymajo sorry for the late response! Can you please confirm this is still an issue? Please provide Node version, npm version, and OS version.

Also, if the issue is still present, please run npm install -g npm@next and see if that resolves the issue. Thank you!

colin-marshall avatar Feb 03 '18 18:02 colin-marshall