n: sudo n stable Error:: invalid version
Issue Template:
Describe issue including what OS you are using
I’m using MacOS Sierra_10.12.6
Describe what version of N you have
n --version output: 2.1.7
Describe how you installed N
npm install -g n
Steps to reproduce issue
- sudo n stable
Describe the results you received
Error: invalid version
Describe the results you expected
I was supposed to see the stable version being pulled from source
What version of npm you are using
npm --version output: 3.10.10
Additional information you deem important (e.g. issue happens only occasionally):
- Output of
which n:/usr/local/bin/n - Output of
node -v:v6.11.2 - Output of
which curl:/usr/bin/curl - Output of
curl --version:curl 7.54.0 (x86_64-apple-darwin16.0) libcurl/7.54.0 SecureTransport zlib/1.2.8 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 5
- Comments: 32
@a3v0 I think your problem is the second machine is a 32-bit architecture (i686).
nuses the pre-built binaries from nodejs, and 32-bit builds for Linux were dropped for node 10.https://github.com/nodejs/build/issues/885
However, node 8 is still being supported, and has 32-bit builds, so you can hopefully use that. e.g.
or explicit version:
I can’t get that installed.
Seems like a lot of my problems are proxy related too.
I get this exact same error on CentOS
@JohnRGee
sudo n --lts,stable, etc produces no output whatsoever