I am getting this exception. Can you please guide how to fix this.
dhana013@HP-ProBook-4430s:~$ ttyreccast outfile.tty
++ tput lines
lines=37
++ tput cols
cols=145
++ mktemp -u -t ttyrec.XXXXXX
temp=/tmp/ttyrec.ZLPPYn
rm -f /tmp/ttycast
mkfifo -m 600 /tmp/ttyrec.ZLPPYn /tmp/ttycast
cat /tmp/ttycast
tee outfile.tty
ttycast -s 145x37
ttyplay -n /tmp/ttyrec.ZLPPYn
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'prototype' of undefined
at Object.inherits (util.js:511:43)
at Object. (/usr/local/lib/node_modules/ttyrec/lib/parse-stream.js:51:6)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/usr/local/lib/node_modules/ttyrec/lib/play-stream.js:6:22)
at Module._compile (module.js:441:26)
info - socket.io started
creating a terminal: 145x37
ttycast listening on 0.0.0.0 port 13377
died
Hi,
I am getting this exception. Can you please guide how to fix this. dhana013@HP-ProBook-4430s:~$ ttyreccast outfile.tty ++ tput lines
node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ TypeError: Cannot read property 'prototype' of undefined at Object.inherits (util.js:511:43) at Object. (/usr/local/lib/node_modules/ttyrec/lib/parse-stream.js:51:6)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/usr/local/lib/node_modules/ttyrec/lib/play-stream.js:6:22)
at Module._compile (module.js:441:26)
info - socket.io started
creating a terminal: 145x37
ttycast listening on 0.0.0.0 port 13377
died