Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for /usr/bin/nodejs for Debian/Ubuntu based systems #92

Open
rohandhruva opened this issue Mar 4, 2014 · 9 comments
Open

Check for /usr/bin/nodejs for Debian/Ubuntu based systems #92

rohandhruva opened this issue Mar 4, 2014 · 9 comments

Comments

@rohandhruva
Copy link

I tried installing keybase, but it failed on Ubuntu with this error:

rdhruva@ubuntu:~$ keybase-installer 
/usr/bin/env: node: No such file or directory

Turns out that Debian based systems install node as /usr/bin/nodejs and not /usr/bin/node (because of an already existing package called node). I suggest checking for /usr/bin/nodejs in addition to 'node'. If that is not possible, putting a note on website that debian-based linux systems should install package nodejs-legacy also works (this package creates a symlink /usr/bin/node to /usr/bin/nodejs.

@benmayne
Copy link

benmayne commented Mar 7, 2014

same on linux mint. this worked: nodejs/node-v0.x-archive#3911

@philihp
Copy link

philihp commented Apr 14, 2014

Also happens in Ubuntu 14.04

@zQueal zQueal mentioned this issue Apr 14, 2014
@flickerfly
Copy link

Looks like some progress has been made on this: See: https://github.com/keybase/node-installer/blob/master/bin/main.sh.

I don't see it fully implemented yet.

@maxtaco
Copy link
Contributor

maxtaco commented Apr 15, 2014

I gave up on it when I realized that none of the other node programs workaround it, and any fix is likely to be brittle.

Does it work to apt-get install nodejs-legacy ?

@malgorithms
Copy link
Contributor

we now have clearer documentation on this.

@TamaMcGlinn
Copy link

Same problem, in ubuntu 14.04
sudo apt-get install nodejs-legacy
solved it

@adiroiban
Copy link

After each upgrade I do

$ vi `which keybase`

an replace node with nodejs

@cjb
Copy link

cjb commented Mar 8, 2016

We've stopped making releases of the old nodejs client, there's a new Go one to replace it.

@adiroiban
Copy link

Ah... I see...

I run keybase and it asked me to run keybase-installer to update to latest version... it did not mention anything about Go :)

maybe keybase-installer should also be updated to emit a warning that nodejs client is obsolete and that people should go for go :)

So basically this should be closes as won't fix. Right?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants