You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running n on a Mac with Big Sur and Apple M1, it somehow doesn't download any versions.
Steps to Reproduce
Any version will return the message, that no version can be found. It happens both for the Bash install and the global npm install.
Expected Behaviour
it should install and use the desired version
Actual Behaviour
it doesn't install and use the desired version
Other Information
Configuration Details
$ n --version
6.7.0
$ command -v node
/usr/local/bin/node
$ node -p process.platform
darwin
$ n doctor
This information is to help you diagnose issues, and useful when reporting an issue.
Note: some output may contain passwords. Redact before sharing.
COMMAND LOCATIONS AND VERSIONS
bash
/bin/bash
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin20)
Copyright (C) 2007 Free Software Foundation, Inc.
n
/usr/local/bin/n
6.7.0
node
/usr/local/bin/node
v14.15.1
JavaScript engine: v8
npm
/usr/local/bin/npm
6.14.8
tar
/usr/bin/tar
bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.6
curl or wget
/usr/bin/curl
curl 7.64.1 (x86_64-apple-darwin20.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.41.0
Release-Date: 2019-03-27
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL UnixSockets
rsync:
/usr/bin/rsync
rsync version 2.6.9 protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
inplace, IPv6, 64-bit system inums, 64-bit internal inums
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
uname
Darwin localhost 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:10 PDT 2020; root:xnu-7195.50.7~2/RELEASE_ARM64_T8101 arm64
SETTINGS
n
node mirror: https://nodejs.org/dist
node downloads mirror: https://nodejs.org/download
install destination: /Users/ckaatz/n
PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/ckaatz/n/bin
ls-remote max matches: 20
Proxy
CHECKS
Checking n install destination is in PATH...
good
Checking n install destination priority in PATH...
There is a version of node installed which will be found in PATH before the n installed version.
Checking permissions for cache folder...
good
Checking permissions for install folders...
good
Checking mirror is reachable...
good
The text was updated successfully, but these errors were encountered:
shadowspawn
changed the title
No versions found on latest Mac with Big Sur
No versions found on latest Mac with Big Sur with Apple M1 chip
Nov 25, 2020
A hopeful work-around is to override the processor architecture and download the Intel flavour of node which will run in Rosetta. I can't try this out currently, so in theory:
Bug Report
Error: no version found for 'lts'
Summary
When running n on a Mac with Big Sur and Apple M1, it somehow doesn't download any versions.
Steps to Reproduce
Any version will return the message, that no version can be found. It happens both for the Bash install and the global npm install.
Expected Behaviour
it should install and use the desired version
Actual Behaviour
it doesn't install and use the desired version
Other Information
Configuration Details
$ n --version 6.7.0 $ command -v node /usr/local/bin/node $ node -p process.platform darwin
The text was updated successfully, but these errors were encountered: