dtinth / ttycast

Broadcast your tty to the world! Stream your live terminal session online. Powered by ttyrec, tty.js and Socket.IO
http://me.dt.in.th/page/ttycast
MIT License
429 stars 23 forks source link

TypeError: Cannot read property 'prototype' of undefined #10

Open bugcy013 opened 10 years ago

bugcy013 commented 10 years ago

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

dtinth commented 10 years ago

Hello. That seems to be a problem with ttyrec.js.

Are you using latest version? Can you try the native version instead?