-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tty.js -> RangeError [ERR_INVALID_FD]: "fd" must be a positive integer: [object Object] #28590
Comments
|
Yeah but according to the TypeScript types, there is an options object, that should take Also, if |
yeah so it's just that the TS typings are off, so I should just move this to TS github repo huh |
@ORESoftware That’s an issue with the TypeScript then, so yeah, moving is a good idea :)
It does, since 1f4d4c0, i.e. since 10.12.0 :) |
ok cool, will close thanks |
Nodejs version 12
I get this error:
I can't figure out why. The fd from the open() call is a positive integer.
It's also, of course, a little suboptimal to have
[object Object]
instead of an inspected object, so at the very least that's a bug/improvement to make.The text was updated successfully, but these errors were encountered: