use npm install pyt.js
errors:
[email protected] install /tmp/sda/tty.js-master/node_modules/pty.js
node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: Command failed: Traceback (most recent call last):
gyp ERR! stack File "", line 1, in
gyp ERR! stack ImportError: No module named platform
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:637:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at maybeClose (child_process.js:735:16)
gyp ERR! stack at Socket. (child_process.js:948:11)
gyp ERR! stack at Socket.EventEmitter.emit (events.js:95:17)
gyp ERR! stack at Pipe.close (net.js:466:12)
gyp ERR! System Linux 3.3.8
gyp ERR! command "node" "/tmp/sda/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/sda/tty.js-master/node_modules/pty.js
gyp ERR! node -v v0.10.17
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! tar pack Error reading /tmp/sda/tmp/npm-25123-gHwCk0Bk/1389235978935-0.81437813 06307/package
npm ERR! addLocalDirectory Could not pack "/tmp/sda/tmp/npm-25123-gHwCk0Bk/1389235978935 8143781344406307/package" to "/tmp/sda/.npm/connect/2.11.0/package.tgz"
Also experiencing this error