Skip to content

npm init fails during prompts #634

Closed
walkah opened this Issue Feb 22, 2011 · 1 comment

2 participants

@walkah
walkah commented Feb 22, 2011

< isaacs> walkah: ahh, i was adding an "error" listener, but not removing it.

What versions of node does it run on? (*) (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace: 
    at ReadStream. (events.js:101:17)
    at read (/usr/local/lib/node/.npm/npm/0.3.4/package/lib/utils/prompt.js:25:9)
    at native
    at prompt (/usr/local/lib/node/.npm/npm/0.3.4/package/lib/utils/prompt.js:17:8)
    at go (/usr/local/lib/node/.npm/npm/0.3.4/package/lib/utils/promise-chain.js:20:19)
    at /usr/local/lib/node/.npm/npm/0.3.4/package/lib/utils/promise-chain.js:33:13
    at ReadStream.D (/usr/local/lib/node/.npm/npm/0.3.4/package/lib/utils/prompt.js:37:7)
    at ReadStream.emit (events.js:42:17)
    at ReadStream._onReadable (net.js:644:31)
    at IOWatcher.onReadable [as callback] (net.js:156:10
@isaacs
npm member
isaacs commented Feb 22, 2011

Closed by b031c57 Remove stdin's error listener when done

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.