heapwolf / prompt-sync

a synchronous prompt for node.js
MIT License
211 stars 42 forks source link

Assertion failed: (fd > STDERR_FILENO) #14

Closed derhuerst closed 8 years ago

derhuerst commented 8 years ago

When doing if (null === prompt.prompt({ask: 'foo?'})) process.exit(0), I get:

Assertion failed: (fd > STDERR_FILENO), function uv__close, file ../deps/uv/src/unix/core.c, line 487.
davidmarkclements commented 8 years ago

This may be fixed in master but not released yet - @derhuerst would you mind cloning and checking abainst master?

heapwolf commented 8 years ago

@davidmarkclements added you as a owner on npm (+ davidmarkclements (prompt-sync))

davidmarkclements commented 8 years ago

cool thanks :bowtie: - @derhuerst once you confirm I'll publish (or co-debug, fix then publish if you find it's still not working your end)

davidmarkclements commented 8 years ago

we're about to go to v4.0.0 - we should still publish a fix for v3 but want also want to make sure it works on @derhuerst system

davidmarkclements commented 8 years ago

v4 published and 3.0.3 which should hopefully contain fix - closing