Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

avn could not activate node #80

@hanudesai

Description

@hanudesai

Details

  • avn avn --version
    0.2.3
  • node node --version
    v6.14.2
  • nvm nvm --version
    0.33.11
  • bash bash --version
    GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)

The output of __avn_debug in the directory with a .node-version file is:

__avn_debug
avn could not activate node 6.14.4
error: no plugin passed predicate
avn-nvm: Invalid Version: v6.14.4 *
avn-n: no version matching 6.14.4

avn is loaded in my ~/.{bash|zsh}{_profile|rc} file with:

.bash_profile

Get the aliases and functions

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/node/node-v8.11.4-linux-x86/bin

PATH=$PATH:/apps/ibm/node/bin:/apps/ibm/node_modules/bin
PATH=/apps/ibm/bin:$PATH
export PATH

export NPM_CONFIG_PREFIX=/apps/ibm/node_modules

export LOG_DIR=/logs/apic-member
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" --no-use # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[[ -s "$HOME/.avn/bin/avn.sh" ]] && source "$HOME/.avn/bin/avn.sh" # load avn

nvm specific

  • As an nvm user I am confirming that I did not install with Homebrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions