Skip to content

nvm.sh exits with code 3 #1587

@1999

Description

@1999

I run it with set -e. When I add set -eu, I see this error as well:

"/root/.nvm/nvm.sh: line 2669: PROVIDED_VERSION: unbound variable

  • Operating system and version:
    Linux b5ed256ad5ef 4.9.36-moby Build node_g for debugging #1 SMP Wed Jul 12 15:29:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux (docker)

  • How did you install nvm? (e.g. install script in readme, homebrew):
    install script from readme

  • What steps did you perform?

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
export NVM_DIR="$HOME/.nvm"
. "$NVM_DIR/nvm.sh"
  • What happened?

"/root/.nvm/nvm.sh: line 2669: PROVIDED_VERSION: unbound variable

exit code 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsOh no, something's broken :-(

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions