# avn and anv-nvm are installed globally on the system node:
$ type avn
avn is /usr/bin/avn
# nvm contains installations of 9.11.1 (latest) and 8.11.1 (LTS):
$ nvm ls
v8.11.1
-> v9.11.1
system
default -> node (-> v9.11.1)
node -> stable (-> v9.11.1) (default)
stable -> 9.11 (-> v9.11.1) (default)
iojs -> N/A (default)
lts/* -> lts/carbon (-> v8.11.1)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.14.1 (-> N/A)
lts/carbon -> v8.11.1
# and avn is failing with the following error:
$ cat foo/.node-version
8.11.1
$ cd foo
avn could not activate node 8.11.1
Details
avn0.2.3
nodev9.11.1
nvm0.33.8
bash4.4.12(1)-release
The output of __avn_debug in the directory with a .node-version file is:
avn could not activate node 8.11.1
error: no plugin passed predicate
avn is loaded in my ~/.bashrc file with:
source "$HOME/.avn/bin/avn.sh" >/dev/null 2>&1
nvm specific
[x] As an nvm user I am confirming that I did not install with Homebrew
Got the same error when I am using (system node), v10.2.1 (npm v5.6.0).
If I create a alias with nvm, default -> 8.9.0 an re-run the avn setup. It works again.
I'm on a fresh install of Debian 9.4 (stretch).
Details
0.2.3
v9.11.1
0.33.8
4.4.12(1)-release
The output of
__avn_debug
in the directory with a.node-version
file is:avn
is loaded in my~/.bashrc
file with:nvm specific
nvm
user I am confirming that I did not install with Homebrew