wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 161 forks source link

Error while generating #3

Closed bigardone closed 11 years ago

bigardone commented 11 years ago

Hi! I'm trying to generate a new theme, and I'm getting this error:

Install a custom theme? (Y)
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at ReadStream.EventEmitter.addListener (events.js:168:15)
    at new Interface (readline.js:104:11)
    at Object.exports.createInterface (readline.js:39:10)
    at read (/Users/user/node_modules/generator-wordpress/node_modules/prompt/node_modules/read/lib/read.js:30:23)
    at EventEmitter.prompt.getInput (/Users/user/node_modules/generator-wordpress/node_modules/prompt/lib/prompt.js:503:3)
    at get (/Users/user/node_modules/generator-wordpress/node_modules/prompt/lib/prompt.js:322:12)
    at prompt.get (/Users/user/node_modules/generator-wordpress/node_modules/prompt/lib/prompt.js:281:7)
    at async.forEachSeries.iterate (/Users/user/node_modules/generator-wordpress/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:108:13)
    at Object.async.forEachSeries (/Users/user/node_modules/generator-wordpress/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:124:9)
    at iterate (/Users/user/node_modules/generator-wordpress/node_modules/prompt/lib/prompt.js:280:11)

Any idea of what is failing?

Thanks in advance!

wesleytodd commented 11 years ago

I will remove the return that is blocking this from recovering, since it is only a warning. But could you tell me what version of node you are running and on what operating system? That way I can test further to see if I can get a better solution.

wesleytodd commented 11 years ago

Updated: 7befabe92fac6ea710b3cb97626531fa9b0628e7 https://npmjs.org/package/generator-wordpress

But if you can please still respond with your versions that would be great!! Thanks!

bigardone commented 11 years ago

My os is Mountain Lion 10.8.3 and node v0.8.3 Cheers!