-
-
Notifications
You must be signed in to change notification settings - Fork 757
Fresh install of n can't be used #782
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
Comments
fixed by using the POSIX compliant version on the POSIX branch |
I'm using sh, not bash, that might be the issue here |
The So in theory you can use
Assuming you have a bash available, what I meant was what version is it? For example, I see: % bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc. |
Sadly no bash, it's a super barebones buildroot system i'm testing, I don't even have |
Thanks for the info. A vote for the posix compatible version. :-) |
(although it acted a little strange on my try, n's tui only saw the version it installed and not the one already present on the system, and it couldn't switch my active install) |
That sounds like an issue with node installed twice, likely once into If you run |
Bug Report
Summary
Just installed n with
npm install -g n
and usingn latest
breaksSteps to Reproduce
npm install -g n
n latest
Expected Behaviour
Installs latest nodejs
Actual Behaviour
$ n latest
/bin/n: line 108: syntax error: unexpected "("
Configuration Details
The text was updated successfully, but these errors were encountered: