wbyoung / avn

Automatic Version Switching for Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

avn not activating on one repo but working on another

mattgabor opened this issue · comments

Please describe your issue clearly and also include all details below.

Details

I have avn installed and one of my projects activates avn but none of my other ones do.

  • avn avn --version 0.2.3
  • node node --version 9.5.0
  • nvm nvm --version 0.33.11
  • n n --version N/A
  • zsh zsh --version 5.3
  • bash bash --version N/A

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

# paste output here

no output

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

# find the relevant line(s) in your profile & note path above
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
[[ -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

this resolved itself after restarting compute