sudo n latest fails #96

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

Comments

Projects
None yet
4 participants

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

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

@ghost

ghost commented Jan 21, 2013

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 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
Owner

tj commented Jan 26, 2013

make sure to update n, should be fine now

tj closed this Jan 26, 2013

Thanks. Works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment