Failed to install tty.js with npm
rhysd opened this issue · comments
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 2.11.3
- Ubuntu Linux
- Node.js v0.12.7
npm-debug.log is here.
I have accured same problem and created pull request, hope @chjj will merge it soon
Hi! We have exactly same bug. Can you fix it as soon as possible?
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.
It was still using an old version of pty.js (which for some reason was removed from npm? not sure). Should be fixed now.
Thanks, closing my pull request
🎉
Oh, this new version of pty.js also solves the zombie process problem that initially started ocurring in node >0.8.0.