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

could not activate node #73

Open
1 task done
rlue opened this issue Apr 9, 2018 · 1 comment
Open
1 task done

could not activate node #73

rlue opened this issue Apr 9, 2018 · 1 comment

Comments

@rlue
Copy link

rlue commented Apr 9, 2018

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
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants