Operating system and version:
Linux Mint 21.1
nvm debug
output:
nvm --version: v0.39.3
$SHELL: /usr/bin/zsh
$SHLVL: 1
whoami: 'cromer'
${HOME}: /home/cromer
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${NVM_DIR}/versions/node/v17.9.1/bin:${HOME}/.config/composer/vendor/bin:${HOME}/go/bin:/usr/local/go/bin:${HOME}/.npm_modules/bin:${HOME}/.local/share/android-sdk/emulator:${HOME}/.local/share/android-sdk/tools:${HOME}/.local/share/android-sdk/tools/bin:${HOME}/.local/share/android-sdk/platform-tools:${HOME}/.local/bin:${HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:${HOME}/.dotnet/tools:${HOME}/.yarn/bin
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.8.1 (x86_64-ubuntu-linux-gnu)'
uname -a: 'Linux 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
checksum binary: 'sha256sum'
OS version: Linux Mint 21.1 Vera
awk: /usr/bin/awk, GNU Awk 5.1.0, API: 3.0 (GNU MPFR 4.1.0, GNU MP 6.2.1)
curl: /usr/bin/curl, curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.13
wget: /usr/bin/wget, GNU Wget 1.21.2 built on linux-gnu.
git: /usr/bin/git, git version 2.34.1
ls: cannot access 'grep:': No such file or directory
grep: grep: aliased to grep --color (grep --color), grep (GNU grep) 3.7
sed: /usr/bin/sed, sed (GNU sed) 4.8
cut: /usr/bin/cut, cut (GNU coreutils) 8.32
basename: /usr/bin/basename, basename (GNU coreutils) 8.32
ls: cannot access 'rm:': No such file or directory
rm: rm: aliased to rm -i (rm -i), rm (GNU coreutils) 8.32
ls: cannot access 'mkdir:': No such file or directory
mkdir: mkdir: aliased to mkdir -pv (mkdir -pv), mkdir (GNU coreutils) 8.32
xargs: /usr/bin/xargs, xargs (GNU findutils) 4.8.0
nvm current: v17.9.1
which node: ${NVM_DIR}/versions/node/v17.9.1/bin/node
which iojs: iojs not found
which npm: ${NVM_DIR}/versions/node/v17.9.1/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v17.9.1
npm root -g: npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
${NVM_DIR}/versions/node/v17.9.1/lib/node_modules
nvm ls
output:
v16.19.0
-> v17.9.1
v18.13.0
system
default -> 17.9.1 (-> v17.9.1)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v18.13.0) (default)
stable -> 18.13 (-> v18.13.0) (default)
lts/* -> lts/hydrogen (-> v18.13.0)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.21.2 (-> N/A)
lts/gallium -> v16.19.0
lts/hydrogen -> v18.13.0
How did you install nvm
?
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
What steps did you perform?
Tried to install any node version.
What happened?
The binary installation fails because the URL is wrong and returns a 404 as shown in this output:
Downloading and installing node v19.4.0...
Downloading https://nodejs.org/dist/v19.4.0/.tar.xz...
curl: (22) The requested URL returned error: 404
What did you expect to happen?
I expected it to download the correct version and install it.
Is there anything in any of your profile files that modifies the PATH
?
My zsh plugins:
git
gh
git-flow
git-lfs
bgnotify
command-not-found
common-aliases
docker
docker-compose
encode64 extract
fastfile
firewalld
golang
ng
npm
perms
pip
react-native
rsync
rust
safe-paste
sudo
systemadmin
systemd
transfer
ubuntu
urltools
vscode
gitignore
universalarchive
yarn
zsh-interactive-cd
#### If you are having installation issues, or getting "N/A", what does `curl -I --compressed -v https://nodejs.org/dist/` print out?
* Trying 104.20.22.46:443...
* Connected to nodejs.org (104.20.22.46) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=*.nodejs.org
* start date: Jan 11 00:00:00 2022 GMT
* expire date: Feb 11 23:59:59 2023 GMT
* subjectAltName: host "nodejs.org" matched cert's "nodejs.org"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55d9e2460010)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> HEAD /dist/ HTTP/2
> Host: nodejs.org
> user-agent: curl/7.81.0
> accept: */*
> accept-encoding: deflate, gzip, br, zstd
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing<!-- (e.g. `.bashrc`, `.bash_profile`, `.zshrc`, etc) -->
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 200
HTTP/2 200
< date: Mon, 16 Jan 2023 02:56:40 GMT
date: Mon, 16 Jan 2023 02:56:40 GMT
< content-type: text/html
content-type: text/html
< last-modified: Mon, 16 Jan 2023 00:05:21 GMT
last-modified: Mon, 16 Jan 2023 00:05:21 GMT
< cache-control: max-age=14400
cache-control: max-age=14400
< cf-cache-status: HIT
cf-cache-status: HIT
< vary: Accept-Encoding
vary: Accept-Encoding
< strict-transport-security: max-age=31536000; includeSubDomains; preload
strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
x-content-type-options: nosniff
< server: cloudflare
server: cloudflare
< cf-ray: 78a3944a5f82d772-SCL
cf-ray: 78a3944a5f82d772-SCL
< content-encoding: br
content-encoding: br
<
* Connection #0 to host nodejs.org left intact
These are my aliases:
```sh
çalai=\''/mnt/data/godot/projects/alai'\'
çubb=\''/mnt/data/ubb'\'
-='cd -'
...=../..
....=../../..
.....=../../../..
......=../../../../..
1='cd -1'
2='cd -2'
3='cd -3'
4='cd -4'
5='cd -5'
6='cd -6'
7='cd -7'
8='cd -8'
9='cd -9'
CA='2>&1 | cat -A'
G='| grep'
H='| head'
L='| less'
LL='2>&1 | less'
M='| most'
NE='2> /dev/null'
NUL='> /dev/null 2>&1'
P='2>&1| pygmentize -l pytb'
T='| tail'
_='sudo '
acp='apt-cache policy'
acs='apt-cache search'
acsp='apt-cache showpkg'
afind='ack -il'
afs='apt-file search --regexp'
afu='sudo apt-file update'
aga='sudo apt autoclean'
agar='sudo apt autoremove'
agb='sudo apt build-dep'
agc='sudo apt clean'
agd='sudo apt dselect-upgrade'
age='sudo apt'
agi='sudo apt install'
agli='apt list --installed'
aglu='apt list --upgradable'
agp='sudo apt purge'
agr='sudo apt remove'
ags='apt source'
agu='sudo apt update'
agud='sudo apt update && sudo apt dist-upgrade'
agug='sudo apt upgrade'
aguu='sudo apt update && sudo apt upgrade'
allpkgs='dpkg --get-selections | grep -v deinstall'
clr='clear; echo Currently logged in on $TTY, as $USERNAME in directory $PWD.'
cp='cp -i'
d64=decode64
dbl='docker build'
dcb='docker compose build'
dcdn='docker compose down'
dce='docker compose exec'
dcin='docker container inspect'
dck='docker compose kill'
dcl='docker compose logs'
dclf='docker compose logs -f'
dcls='docker container ls'
dclsa='docker container ls -a'
dco='docker compose'
dcps='docker compose ps'
dcpull='docker compose pull'
dcr='docker compose run'
dcrestart='docker compose restart'
dcrm='docker compose rm'
dcstart='docker compose start'
dcstop='docker compose stop'
dcup='docker compose up'
dcupb='docker compose up --build'
dcupd='docker compose up -d'
dib='docker image build'
diff='diff --color'
dii='docker image inspect'
dils='docker image ls'
dipu='docker image push'
dirm='docker image rm'
dit='docker image tag'
dlo='docker container logs'
dnc='docker network create'
dncn='docker network connect'
dndcn='docker network disconnect'
dni='docker network inspect'
dnls='docker network ls'
dnrm='docker network rm'
dpo='docker container port'
dpu='docker pull'
dr='docker container run'
drit='docker container run -it'
drm='docker container rm'
'drm!'='docker container rm -f'
dst='docker container start'
dstp='docker container stop'
dtop='docker top'
dud='du -d 1 -h'
duf='du -sh *'
dvi='docker volume inspect'
dvls='docker volume ls'
dvprune='docker volume prune'
dxc='docker container exec'
dxcit='docker container exec -it'
e64=encode64
egrep='egrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}'
fd='find . -type d -name'
ff=fastfile
ffls=fastfile_ls
ffp=fastfile_print
ffrm=fastfile_rm
ffsync=fastfile_sync
fgrep='fgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}'
fw='sudo firewall-cmd'
fwp='sudo firewall-cmd --permanent'
fwr='sudo firewall-cmd --reload'
fwrp='sudo firewall-cmd --runtime-to-permanent'
g=git
ga='git add'
gaa='git add --all'
gam='git am'
gama='git am --abort'
gamc='git am --continue'
gams='git am --skip'
gamscp='git am --show-current-patch'
gap='git apply'
gapa='git add --patch'
gapt='git apply --3way'
gau='git add --update'
gav='git add --verbose'
gb='git branch'
gbD='git branch -D'
gba='git branch -a'
gbd='git branch -d'
gbda='git branch --no-color --merged | command grep -vE "^([+*]|\s*($(git_main_branch)|$(git_develop_branch))\s*$)" | command xargs git branch -d 2>/dev/null'
gbl='git blame -b -w'
gbnm='git branch --no-merged'
gbr='git branch --remote'
gbs='git bisect'
gbsb='git bisect bad'
gbsg='git bisect good'
gbsr='git bisect reset'
gbss='git bisect start'
gc='git commit -v'
'gc!'='git commit -v --amend'
gca='git commit -v -a'
'gca!'='git commit -v -a --amend'
gcam='git commit -a -m'
'gcan!'='git commit -v -a --no-edit --amend'
'gcans!'='git commit -v -a -s --no-edit --amend'
gcas='git commit -a -s'
gcasm='git commit -a -s -m'
gcb='git checkout -b'
gcd='git checkout $(git config gitflow.branch.develop)'
gcf='git config --list'
gch='git checkout $(git config gitflow.prefix.hotfix)'
gcl='git clone --recurse-submodules'
gclean='git clean -id'
gcm='git checkout $(git_main_branch)'
gcmsg='git commit -m'
'gcn!'='git commit -v --no-edit --amend'
gco='git checkout'
gcor='git checkout --recurse-submodules'
gcount='git shortlog -sn'
gcp='git cherry-pick'
gcpa='git cherry-pick --abort'
gcpc='git cherry-pick --continue'
gcr='git checkout $(git config gitflow.prefix.release)'
gcs='git commit -S'
gcsm='git commit -s -m'
gcss='git commit -S -s'
gcssm='git commit -S -s -m'
gd='git diff'
gdca='git diff --cached'
gdct='git describe --tags $(git rev-list --tags --max-count=1)'
gdcw='git diff --cached --word-diff'
gds='git diff --staged'
gdt='git diff-tree --no-commit-id --name-only -r'
gdup='git diff @{upstream}'
gdw='git diff --word-diff'
gf='git fetch'
gfa='git fetch --all --prune --jobs=10'
gfg='git ls-files | grep'
gfl='git flow'
gflf='git flow feature'
gflff='git flow feature finish'
gflffc='git flow feature finish ${$(git_current_branch)#feature/}'
gflfp='git flow feature publish'
gflfpc='git flow feature publish ${$(git_current_branch)#feature/}'
gflfpll='git flow feature pull'
gflfs='git flow feature start'
gflh='git flow hotfix'
gflhf='git flow hotfix finish'
gflhfc='git flow hotfix finish ${$(git_current_branch)#hotfix/}'
gflhp='git flow hotfix publish'
gflhpc='git flow hotfix publish ${$(git_current_branch)#hotfix/}'
gflhs='git flow hotfix start'
gfli='git flow init'
gflr='git flow release'
gflrf='git flow release finish'
gflrfc='git flow release finish ${$(git_current_branch)#release/}'
gflrp='git flow release publish'
gflrpc='git flow release publish ${$(git_current_branch)#release/}'
gflrs='git flow release start'
gfo='git fetch origin'
gg='git gui citool'
gga='git gui citool --amend'
ggpull='git pull origin "$(git_current_branch)"'
ggpur=ggu
ggpush='git push origin "$(git_current_branch)"'
ggsup='git branch --set-upstream-to=origin/$(git_current_branch)'
ghh='git help'
gignore='git update-index --assume-unchanged'
gignored='git ls-files -v | grep "^[[:lower:]]"'
git-svn-dcommit-push='git svn dcommit && git push github $(git_main_branch):svntrunk'
gk='\gitk --all --branches &!'
gke='\gitk --all $(git log -g --pretty=%h) &!'
gl='git pull'
glfsi='git lfs install'
glfsls='git lfs ls-files'
glfsmi='git lfs migrate import --include='
glfst='git lfs track'
glg='git log --stat'
glgg='git log --graph'
glgga='git log --graph --decorate --all'
glgm='git log --graph --max-count=10'
glgp='git log --stat -p'
glo='git log --oneline --decorate'
globurl='noglob urlglobber '
glod='git log --graph --pretty='\''%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)%Creset'\'
glods='git log --graph --pretty='\''%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)%Creset'\'' --date=short'
glog='git log --oneline --decorate --graph'
gloga='git log --oneline --decorate --graph --all'
glol='git log --graph --pretty='\''%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)%Creset'\'
glola='git log --graph --pretty='\''%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)%Creset'\'' --all'
glols='git log --graph --pretty='\''%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)%Creset'\'' --stat'
glp=_git_log_prettily
glum='git pull upstream $(git_main_branch)'
gm='git merge'
gma='git merge --abort'
gmom='git merge origin/$(git_main_branch)'
gmtl='git mergetool --no-prompt'
gmtlvim='git mergetool --no-prompt --tool=vimdiff'
gmum='git merge upstream/$(git_main_branch)'
gob='go build'
goc='go clean'
god='go doc'
gof='go fmt'
gofa='go fmt ./...'
gofx='go fix'
gog='go get'
goga='go get ./...'
goi='go install'
gol='go list'
gom='go mod'
gopa='cd $GOPATH'
gopb='cd $GOPATH/bin'
gops='cd $GOPATH/src'
gor='go run'
got='go test'
gota='go test ./...'
goto='go tool'
gotoc='go tool compile'
gotod='go tool dist'
gotofx='go tool fix'
gov='go vet'
gp='git push'
gpd='git push --dry-run'
gpf='git push --force-with-lease'
'gpf!'='git push --force'
gpoat='git push origin --all && git push origin --tags'
gpr='git pull --rebase'
gpristine='git reset --hard && git clean -dffx'
gpsup='git push --set-upstream origin $(git_current_branch)'
gpu='git push upstream'
gpv='git push -v'
gr='git remote'
gra='git remote add'
grb='git rebase'
grba='git rebase --abort'
grbc='git rebase --continue'
grbd='git rebase $(git_develop_branch)'
grbi='git rebase -i'
grbm='git rebase $(git_main_branch)'
grbo='git rebase --onto'
grbom='git rebase origin/$(git_main_branch)'
grbs='git rebase --skip'
grep='grep --color'
grev='git revert'
grh='git reset'
grhh='git reset --hard'
grm='git rm'
grmc='git rm --cached'
grmv='git remote rename'
groh='git reset origin/$(git_current_branch) --hard'
grrm='git remote remove'
grs='git restore'
grset='git remote set-url'
grss='git restore --source'
grst='git restore --staged'
grt='cd "$(git rev-parse --show-toplevel || echo .)"'
gru='git reset --'
grup='git remote update'
grv='git remote -v'
gsb='git status -sb'
gsd='git svn dcommit'
gsh='git show'
gsi='git submodule init'
gsps='git show --pretty=short --show-signature'
gsr='git svn rebase'
gss='git status -s'
gst='git status'
gsta='git stash push'
gstaa='git stash apply'
gstall='git stash --all'
gstc='git stash clear'
gstd='git stash drop'
gstl='git stash list'
gstp='git stash pop'
gsts='git stash show --text'
gstu='gsta --include-untracked'
gsu='git submodule update'
gsw='git switch'
gswc='git switch -c'
gswd='git switch $(git_develop_branch)'
gswm='git switch $(git_main_branch)'
gtl='gtl(){ git tag --sort=-v:refname -n -l "${1}*" }; noglob gtl'
gts='git tag -s'
gtv='git tag | sort -V'
gunignore='git update-index --no-assume-unchanged'
gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
gup='git pull --rebase'
gupa='git pull --rebase --autostash'
gupav='git pull --rebase --autostash -v'
gupom='git pull --rebase origin $(git_main_branch)'
gupomi='git pull --rebase=interactive origin $(git_main_branch)'
gupv='git pull --rebase -v'
gwch='git whatchanged -p --abbrev-commit --pretty=medium'
gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign -m "--wip-- [skip ci]"'
h=history
help=man
hgrep='fc -El 0 | grep'
hist10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10'
history=omz_history
kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) ?not(~n`uname -r`))'
l='ls -lFh'
lS='ls -1FSsh'
la='ls -lAFh'
lart='ls -1Fcart'
ldot='ls -ld .*'
ll='ls -l'
lr='ls -tRFh'
lrt='ls -1Fcrt'
ls='ls --color=tty'
lsa='ls -lah'
lsn='ls -1'
lsr='ls -lARFh'
lt='ls -ltFh'
md='mkdir -p'
mkdir='mkdir -pv'
mv='mv -i'
mydeb='time dpkg-buildpackage -rfakeroot -us -uc'
npmD='npm i -D '
npmE='PATH="$(npm bin)":"$PATH"'
npmF='npm i -f'
npmI='npm init'
npmL='npm list'
npmL0='npm ls --depth=0'
npmO='npm outdated'
npmP='npm publish'
npmR='npm run'
npmS='npm i -S '
npmSe='npm search'
npmU='npm update'
npmV='npm -v'
npmg='npm i -g '
npmi='npm info'
npmst='npm start'
npmt='npm test'
p='ps -f'
path='print -l $path'
ping='ping -c 5'
pip='noglob pip'
pipir='pip install -r requirements.txt'
pipreq='pip freeze > requirements.txt'
ppap='sudo ppa-purge'
pscpu='ps -e -o pcpu,cpu,nice,state,cputime,args|sort -k1,1n -nr'
pscpu10='ps -e -o pcpu,cpu,nice,state,cputime,args|sort -k1,1n -nr | head -n 10'
psmem='ps -e -orss=,args= | sort -b -k1 -nr'
psmem10='ps -e -orss=,args= | sort -b -k1 -nr | head -n 10'
rd=rmdir
rm='rm -i'
rn=react-native
rnand='react-native run-android'
rnatv='react-native run-ios --simulator "Apple TV"'
rnatv4k='react-native run-ios --simulator "Apple TV 4K"'
rnatv4k1080='react-native run-ios --simulator "Apple TV 4K (at 1080p)"'
rnaw38='react-native run-ios --simulator "Apple Watch - 38mm"'
rnaw42='react-native run-ios --simulator "Apple Watch - 42mm"'
rnaws238='react-native run-ios --simulator "Apple Watch Series 2 - 38mm"'
rnaws242='react-native run-ios --simulator "Apple Watch Series 2 - 42mm"'
rnaws338='react-native run-ios --simulator "Apple Watch Series 3 - 38mm"'
rnaws342='react-native run-ios --simulator "Apple Watch Series 3 - 42mm"'
rnaws440='react-native run-ios --simulator "Apple Watch Series 4 - 40mm"'
rnaws444='react-native run-ios --simulator "Apple Watch Series 4 - 44mm"'
rnios='react-native run-ios'
rnios11='react-native run-ios --simulator "iPhone 11"'
rnios11p='react-native run-ios --simulator "iPhone 11 Pro"'
rnios11pm='react-native run-ios --simulator "iPhone 11 Pro Max"'
rnios12='react-native run-ios --simulator "iPhone 12"'
rnios12p='react-native run-ios --simulator "iPhone 12 Pro"'
rnios12pm='react-native run-ios --simulator "iPhone 12 Pro Max"'
rnios4s='react-native run-ios --simulator "iPhone 4s"'
rnios5='react-native run-ios --simulator "iPhone 5"'
rnios5s='react-native run-ios --simulator "iPhone 5s"'
rnios6='react-native run-ios --simulator "iPhone 6"'
rnios6p='react-native run-ios --simulator "iPhone 6 Plus"'
rnios6s='react-native run-ios --simulator "iPhone 6s"'
rnios6sp='react-native run-ios --simulator "iPhone 6s Plus"'
rnios7='react-native run-ios --simulator "iPhone 7"'
rnios7p='react-native run-ios --simulator "iPhone 7 Plus"'
rnios8='react-native run-ios --simulator "iPhone 8"'
rnios8p='react-native run-ios --simulator "iPhone 8 Plus"'
rniosse='react-native run-ios --simulator "iPhone SE"'
rniosx='react-native run-ios --simulator "iPhone X"'
rniosxr='react-native run-ios --simulator "iPhone Xʀ"'
rniosxs='react-native run-ios --simulator "iPhone Xs"'
rniosxsm='react-native run-ios --simulator "iPhone Xs Max"'
rnipad11='react-native run-ios --simulator "iPad Pro (11-inch)"'
rnipad123='react-native run-ios --simulator "iPad Pro (12.9-inch) (3rd generation)"'
rnipad2='react-native run-ios --simulator "iPad 2"'
rnipad5='react-native run-ios --simulator "iPad (5th generation)"'
rnipad6='react-native run-ios --simulator "iPad (6th generation)"'
rnipada='react-native run-ios --simulator "iPad Air"'
rnipada2='react-native run-ios --simulator "iPad Air 2"'
rnipada3='react-native run-ios --simulator "iPad Air (3rd generation)"'
rnipadm2='react-native run-ios --simulator "iPad mini 2"'
rnipadm3='react-native run-ios --simulator "iPad mini 3"'
rnipadm4='react-native run-ios --simulator "iPad mini 4"'
rnipadm5='react-native run-ios --simulator "iPad mini (5th generation)"'
rnipadp10='react-native run-ios --simulator "iPad Pro (10.5-inch)"'
rnipadp12='react-native run-ios --simulator "iPad Pro (12.9-inch)"'
rnipadp122='react-native run-ios --simulator "iPad Pro (12.9-inch) (2nd generation)"'
rnipadp9='react-native run-ios --simulator "iPad Pro (9.7-inch)"'
rnipadr='react-native run-ios --simulator "iPad Retina"'
rnland='react-native log-android'
rnlink='react-native link'
rnlios='react-native log-ios'
rns='react-native start'
rsync-copy='rsync -avz --progress -h'
rsync-move='rsync -avz --progress -h --remove-source-files'
rsync-synchronize='rsync -avzu --delete --progress -h'
rsync-update='rsync -avzu --progress -h'
sc-add-requires='sudo systemctl add-requires'
sc-add-wants='sudo systemctl add-wants'
sc-cancel='sudo systemctl cancel'
sc-cat='systemctl cat'
sc-daemon-reexec='sudo systemctl daemon-reexec'
sc-daemon-reload='sudo systemctl daemon-reload'
sc-default='sudo systemctl default'
sc-disable='sudo systemctl disable'
sc-disable-now='sc-disable --now'
sc-edit='sudo systemctl edit'
sc-emergency='sudo systemctl emergency'
sc-enable='sudo systemctl enable'
sc-enable-now='sc-enable --now'
sc-get-default='systemctl get-default'
sc-halt='sudo systemctl halt'
sc-help='systemctl help'
sc-hibernate='systemctl hibernate'
sc-hybrid-sleep='systemctl hybrid-sleep'
sc-import-environment='sudo systemctl import-environment'
sc-is-active='systemctl is-active'
sc-is-enabled='systemctl is-enabled'
sc-is-failed='systemctl is-failed'
sc-is-system-running='systemctl is-system-running'
sc-isolate='sudo systemctl isolate'
sc-kexec='sudo systemctl kexec'
sc-kill='sudo systemctl kill'
sc-link='sudo systemctl link'
sc-list-dependencies='systemctl list-dependencies'
sc-list-jobs='systemctl list-jobs'
sc-list-machines='sudo systemctl list-machines'
sc-list-sockets='systemctl list-sockets'
sc-list-timers='systemctl list-timers'
sc-list-unit-files='systemctl list-unit-files'
sc-list-units='systemctl list-units'
sc-load='sudo systemctl load'
sc-mask='sudo systemctl mask'
sc-mask-now='sc-mask --now'
sc-poweroff='systemctl poweroff'
sc-preset='sudo systemctl preset'
sc-preset-all='sudo systemctl preset-all'
sc-reboot='systemctl reboot'
sc-reenable='sudo systemctl reenable'
sc-reload='sudo systemctl reload'
sc-reload-or-restart='sudo systemctl reload-or-restart'
sc-rescue='sudo systemctl rescue'
sc-reset-failed='sudo systemctl reset-failed'
sc-restart='sudo systemctl restart'
sc-revert='sudo systemctl revert'
sc-set-default='sudo systemctl set-default'
sc-set-environment='sudo systemctl set-environment'
sc-set-property='sudo systemctl set-property'
sc-show='systemctl show'
sc-show-environment='systemctl show-environment'
sc-start='sudo systemctl start'
sc-status='systemctl status'
sc-stop='sudo systemctl stop'
sc-suspend='systemctl suspend'
sc-switch-root='sudo systemctl switch-root'
sc-try-reload-or-restart='sudo systemctl try-reload-or-restart'
sc-try-restart='sudo systemctl try-restart'
sc-unmask='sudo systemctl unmask'
sc-unset-environment='sudo systemctl unset-environment'
scu-add-requires='systemctl --user add-requires'
scu-add-wants='systemctl --user add-wants'
scu-cancel='systemctl --user cancel'
scu-cat='systemctl --user cat'
scu-daemon-reexec='systemctl --user daemon-reexec'
scu-daemon-reload='systemctl --user daemon-reload'
scu-default='systemctl --user default'
scu-disable='systemctl --user disable'
scu-disable-now='scu-disable --now'
scu-edit='systemctl --user edit'
scu-emergency='systemctl --user emergency'
scu-enable='systemctl --user enable'
scu-enable-now='scu-enable --now'
scu-get-default='systemctl --user get-default'
scu-halt='systemctl --user halt'
scu-help='systemctl --user help'
scu-import-environment='systemctl --user import-environment'
scu-is-active='systemctl --user is-active'
scu-is-enabled='systemctl --user is-enabled'
scu-is-failed='systemctl --user is-failed'
scu-is-system-running='systemctl --user is-system-running'
scu-isolate='systemctl --user isolate'
scu-kexec='systemctl --user kexec'
scu-kill='systemctl --user kill'
scu-link='systemctl --user link'
scu-list-dependencies='systemctl --user list-dependencies'
scu-list-jobs='systemctl --user list-jobs'
scu-list-machines='systemctl --user list-machines'
scu-list-sockets='systemctl --user list-sockets'
scu-list-timers='systemctl --user list-timers'
scu-list-unit-files='systemctl --user list-unit-files'
scu-list-units='systemctl --user list-units'
scu-load='systemctl --user load'
scu-mask='systemctl --user mask'
scu-mask-now='scu-mask --now'
scu-preset='systemctl --user preset'
scu-preset-all='systemctl --user preset-all'
scu-reenable='systemctl --user reenable'
scu-reload='systemctl --user reload'
scu-reload-or-restart='systemctl --user reload-or-restart'
scu-rescue='systemctl --user rescue'
scu-reset-failed='systemctl --user reset-failed'
scu-restart='systemctl --user restart'
scu-revert='systemctl --user revert'
scu-set-default='systemctl --user set-default'
scu-set-environment='systemctl --user set-environment'
scu-set-property='systemctl --user set-property'
scu-show='systemctl --user show'
scu-show-environment='systemctl --user show-environment'
scu-start='systemctl --user start'
scu-status='systemctl --user status'
scu-stop='systemctl --user stop'
scu-switch-root='systemctl --user switch-root'
scu-try-reload-or-restart='systemctl --user try-reload-or-restart'
scu-try-restart='systemctl --user try-restart'
scu-unmask='systemctl --user unmask'
scu-unset-environment='systemctl --user unset-environment'
sgrep='grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS} '
sortnr='sort -n -r'
t='tail -f'
unexport=unset
urldecode='node -e "console.log(decodeURIComponent(process.argv[1]))"'
urlencode='node -e "console.log(encodeURIComponent(process.argv[1]))"'
vsc='code .'
vsca='code --add'
vscd='code --diff'
vscde='code --disable-extensions'
vsced='code --extensions-dir'
vscg='code --goto'
vscie='code --install-extension'
vscl='code --log'
vscn='code --new-window'
vscr='code --reuse-window'
vscu='code --user-data-dir'
vscue='code --uninstall-extension'
vscv='code --verbose'
vscw='code --wait'
which-command=whence
x=extract
y=yarn
ya='yarn add'
yad='yarn add --dev'
yap='yarn add --peer'
yb='yarn build'
ycc='yarn cache clean'
yd='yarn dev'
yga='yarn global add'
ygls='yarn global list'
ygrm='yarn global remove'
ygu='yarn global upgrade'
yh='yarn help'
yi='yarn init'
yin='yarn install'
yln='yarn lint'
ylnf='yarn lint --fix'
yls='yarn list'
yout='yarn outdated'
yp='yarn pack'
yrm='yarn remove'
yrun='yarn run'
ys='yarn serve'
yst='yarn start'
yt='yarn test'
ytc='yarn test --coverage'
yuc='yarn global upgrade && yarn cache clean'
yui='yarn upgrade-interactive'
yuil='yarn upgrade-interactive --latest'
yup='yarn upgrade'
yv='yarn version'
yw='yarn workspace'
yws='yarn workspaces'
zshrc='${=EDITOR} ${ZDOTDIR:-$HOME}/.zshrc'
```
If I disable all of my plugins, it starts working again. I assume it is probably an issue with one of the aliases used by a plugin, but which one, no idea.
My guess is it's L
. Can you try removing that alias and see if that fixes it?
Nope, tried removing that alias and it fails in the same way.
I have the same issue.
I pinpointed the problem to the common-aliases plugin.
Removing that plugin makes nvm install node
work with a correct URL.
@cromerc presumably if you disable that plugin then it will work.
If it's not L
, then it must be another alias that plugin provides. It'd be helpful to figure out which one.
I can confirm that disabling the common-aliases plugin does indeed fix the issue. But of course having to disable a plugin in zsh to use this isn't an actual solution.
Thanks, I'll try to figure out which alias it might be, if not L
(which #2964 tries to fix)
As a workaround the following snippet could be placed after initiating nvm
in the .zshrc
. An alias does work as well but then the auto completion does not work.
nvm() {
sh -c '. "$NVM_DIR/nvm.sh" && nvm "$@"' - "$@"
}
@cromerc with the latest version of nvm, is this still a problem? I'm happy to reopen if so.
@cromerc with the latest version of nvm, is this still a problem? I'm happy to reopen if so.
Just gave it a try and it works now. Thanks.