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

sudo n latest fails #96

Closed
binarykitchen opened this issue Jan 20, 2013 · 5 comments
Closed

sudo n latest fails #96

binarykitchen opened this issue Jan 20, 2013 · 5 comments

Comments

@binarykitchen
Copy link

Hey TJ

I just grabbed n from npm and ran "sudo n latest" but it fails:

michael.heuberger@xxx /usr> sudo n latest
/usr/local/bin/n: 218: local: 3.5.0-22-generic: bad variable name

 install : 0.9.7

curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

Error: invalid version 0.9.7

Is there a conflict with a variable name?

Cheers
Michael

@tj
Copy link
Owner

tj commented Jan 20, 2013

hmm someone else had this as well, I don't get it in my ubuntu vm but I just checked and I get it on the linode box so I'll try and look into this soon

@TellusTalk
Copy link

I'm new to n. installed it to day experiencing same the problem.

n stable
/usr/local/bin/n: 218: local: xxxxxx: bad variable name

 install : 0.8.18

curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

Error: invalid version 0.8.18

@markreg
Copy link

markreg commented Jan 25, 2013

Same problem:

mark@machine:~# n stable
/usr/local/bin/n: 143: local: 3.5.0-17-generic: bad variable name

     install : 0.8.18
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

  Error: invalid version 0.8.18

@tj
Copy link
Owner

tj commented Jan 26, 2013

make sure to update n, should be fine now

@tj tj closed this as completed Jan 26, 2013
@binarykitchen
Copy link
Author

Thanks. Works fine now.

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

3 participants