You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried building on Mac, and there are some issues with the calls made to open a pseudo-terminal. The build process also outputs some warnings, and we get runtime errors when calling the native functions from node.
The issue has to do with the tcgetattr call that fails with Inappropriate ioctl for device, even though when using isatty it returns 1.
When skipping the whole termios cfmakeraw it fails in the JS code that wraps the fd in a net.Socket object.
I tried properly wrapping it by creating read/write streams using the fs module: it removes the runtime errors, but the tests still fail.
I also tried replacing ptsname_r by ttyname_r as suggested by @thegecko, it removes the compilation warnings but we still get runtime errors.
It may require some more knowledge about ttys on OSX, as I am left just trying anything and everything only to eventually fail. I might pick this up again in the future, no guarantees.
The text was updated successfully, but these errors were encountered:
Related: #97 (comment)
Tried building on Mac, and there are some issues with the calls made to open a pseudo-terminal. The build process also outputs some warnings, and we get runtime errors when calling the native functions from node.
The issue has to do with the
tcgetattr
call that fails withInappropriate ioctl for device
, even though when usingisatty
it returns1
.When skipping the whole
termios cfmakeraw
it fails in the JS code that wraps the fd in anet.Socket
object.I tried properly wrapping it by creating read/write streams using the
fs
module: it removes the runtime errors, but the tests still fail.I also tried replacing
ptsname_r
byttyname_r
as suggested by @thegecko, it removes the compilation warnings but we still get runtime errors.It may require some more knowledge about ttys on OSX, as I am left just trying anything and everything only to eventually fail. I might pick this up again in the future, no guarantees.
The text was updated successfully, but these errors were encountered: