chjj / tty.js

A terminal for your browser, using node/express/socket.io
MIT License
4.19k stars 483 forks source link

Failed to install tty.js with npm #146

Closed rhysd closed 9 years ago

rhysd commented 9 years ago

I tried to install tty.js

$ npm install tty.js

But I got an error as below.

npm ERR! Linux 3.2.0-84-generic-pae
npm ERR! argv "/home/hayashida/.nvm/versions/node/v0.12.7/bin/node" "/home/hayashida/.nvm/versions/node/v0.12.7/bin/npm" "install" "tty.js"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3

npm ERR! version not found: pty.js@0.2.7
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/hayashida/Programs/ttyjstest/npm-debug.log

Is package dependency broken? My environment is:

npm-debug.log is here.

G07cha commented 9 years ago

I have accured same problem and created pull request, hope @chjj will merge it soon

kernelt commented 9 years ago

Hi! We have exactly same bug. Can you fix it as soon as possible?

rhysd commented 9 years ago

@G07cha

Thank you for your fix. I wait @chjj will marge.

G07cha commented 9 years ago

Actually you can install from my fork:

npm install -g https://github.com/G07cha/tty.js.git

But if you want to recieve future updates keep eye on my pull request and this issue. If issue will be closed you can switch back to original repository.

chjj commented 9 years ago

It was still using an old version of pty.js (which for some reason was removed from npm? not sure). Should be fixed now.

G07cha commented 9 years ago

Thanks, closing my pull request

rhysd commented 9 years ago

:tada:

chjj commented 9 years ago

Oh, this new version of pty.js also solves the zombie process problem that initially started ocurring in node >0.8.0.