could not activate node
rlue opened this issue · 1 comments
rlue commented
I'm on a fresh install of Debian 9.4 (stretch).
# 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
- avn
0.2.3
- node
v9.11.1
- nvm
0.33.8
- bash
4.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
- As an
nvm
user I am confirming that I did not install with Homebrew
hourliert commented
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.
Seems to be related to latest node version?