I get this error and crashes my app from time to time.
/usr/lib/node_modules/pty.js/lib/pty.js:354
pty.resize(this.fd, cols, rows);
^
Error: ioctl(2) failed.
at Error (native)
at Terminal.resize (/usr/lib/node_modules/pty.js/lib/pty.js:354:7)
.. I think this happens if the pid of the emulated tty is closed.
How could I fix it so it does not crah my app. What should I check on the pty object?
I get this error and crashes my app from time to time.
/usr/lib/node_modules/pty.js/lib/pty.js:354
pty.resize(this.fd, cols, rows);
^
Error: ioctl(2) failed.
at Error (native)
at Terminal.resize (/usr/lib/node_modules/pty.js/lib/pty.js:354:7)
.. I think this happens if the pid of the emulated tty is closed.
How could I fix it so it does not crah my app. What should I check on the pty object?