Skip to content

-bash: nvm_ls node: command not found #1514

@gudyo

Description

@gudyo
  • Operating system and version:
    Mac OS X 10.12.4 (Sierra)

  • nvm debug output:

nvm --version: v0.33.2
$SHELL: /bin/bash
$HOME: /Users/ppetrova
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: 'https://nodejs.org/dist'
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)'
uname -a: 'Darwin 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64'
OS version: Mac 10.12.4 16E195
curl: /usr/bin/curl, curl 7.51.0 (x86_64-apple-darwin16.0) libcurl/7.51.0 SecureTransport zlib/1.2.8
wget: not found
git: /usr/local/bin/git, git version 2.12.0
nvm current: -bash: nvm current: command not found
which node: -bash: which node: command not found
which iojs: -bash: which iojs: command not found
which npm: -bash: which npm: command not found
npm config get prefix: -bash: npm config get prefix: command not found
npm root -g: -bash: npm root -g: command not found
  • nvm ls output:
               
->       system
node -> stable (-> N/A) (default)
-bash: nvm_ls node: command not found
-bash: nvm_ls node: command not found
-bash: nvm_ls iojs: command not found
iojs -> iojs- (-> N/A) (default)
lts/* -> lts/boron (-> N/A)
lts/argon -> v4.8.2 (-> N/A)
lts/boron -> v6.10.2 (-> N/A)
  • 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.23.46...
* TCP_NODELAY set
* Connected to nodejs.org (104.20.23.46) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.nodejs.org
* Server certificate: COMODO RSA Domain Validation Secure Server CA
* Server certificate: COMODO RSA Certification Authority
> HEAD /dist HTTP/1.1
> Host: nodejs.org
> User-Agent: curl/7.51.0
> Accept: */*
> Accept-Encoding: deflate, gzip
> 
< HTTP/1.1 301 Moved Permanently
HTTP/1.1 301 Moved Permanently
< Date: Wed, 26 Apr 2017 21:39:14 GMT
Date: Wed, 26 Apr 2017 21:39:14 GMT
< Content-Type: text/html
Content-Type: text/html
< Connection: keep-alive
Connection: keep-alive
< Set-Cookie: __cfduid=db0d07f999c1be07ab67d2021dea09b741493242754; expires=Thu, 26-Apr-18 21:39:14 GMT; path=/; domain=.nodejs.org; HttpOnly
Set-Cookie: __cfduid=db0d07f999c1be07ab67d2021dea09b741493242754; expires=Thu, 26-Apr-18 21:39:14 GMT; path=/; domain=.nodejs.org; HttpOnly
< Location: https://nodejs.org/dist/
Location: https://nodejs.org/dist/
< CF-Cache-Status: EXPIRED
CF-Cache-Status: EXPIRED
< Vary: Accept-Encoding
Vary: Accept-Encoding
< Expires: Thu, 27 Apr 2017 01:39:14 GMT
Expires: Thu, 27 Apr 2017 01:39:14 GMT
< Cache-Control: public, max-age=14400
Cache-Control: public, max-age=14400
< Server: cloudflare-nginx
Server: cloudflare-nginx
< CF-RAY: 355cb18e5ff30edf-EWR
CF-RAY: 355cb18e5ff30edf-EWR

< 
* Curl_http_done: called premature == 0
* Connection #0 to host nodejs.org left intact

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions