question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

avn could not activate node v4.0.0

See original GitHub issue
$ cat .node-version
v4.0.0

------

$ _avn explain -v
error: missing required argument `path'

------

$ nvm --version
0.26.1

------

$ nvm list
    iojs-v1.2.0
    iojs-v2.3.0
    iojs-v2.3.1
    iojs-v2.3.3
    iojs-v2.3.4
    iojs-v2.4.0
->  iojs-v2.5.0
         v4.0.0
default -> stable (-> v4.0.0)
node -> stable (-> v4.0.0) (default)
stable -> 4.0 (-> v4.0.0) (default)
iojs -> iojs-v2.5 (-> iojs-v2.5.0) (default)

------

$ node -v
v2.5.0

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

36reactions
AlexeyPopovcommented, Sep 12, 2015

I install nvm via homebrew. I found my error. I copy nvm.sh in .nvm folder and the problem was resolved.

cp $(brew --prefix nvm)/nvm.sh ~/.nvm/
1reaction
jonaslucommented, May 24, 2017

I’d just thought I’d add here if someone runs into this they will probably wind up here searching for a solution. I installed nvm via the arch-linux aur repositories (https://aur.archlinux.org/packages/nvm/) and got the same

avn could not activate node 4.8.0

Running the following showed:

$ __avn_debug                                                 
avn could not activate node 4.8.0                               
error: no plugin passed predicate                          
  avn-nvm: nvm exited with status: 127               
/bin/bash: /home/jonasl/.nvm/nvm.sh: No such file or directory
/bin/bash: nvm: command not found                

The fix was a simple:

$ ln -s /usr/share/nvm/nvm.sh ~/.nvm/nvm.sh

and now avn works on my install!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - parse error / avn could not activate node / avn ...
I just installed avn with: $ sudo npm install -g avn avn-nvm avn-n $ avn setup. After that I did: source ~/.zshrc.
Read more >
avn - npm
Automatic Node Version Switching. Latest version: 0.2.4, last published: 4 years ago. Start using avn in your project by running `npm i avn` ......
Read more >
VMware Cloud Foundation 4.0 Release Notes
Workaround: Attach the Transport node profile to the cluster and try deploying the partner service. After the service is deployed, detach the transport...
Read more >
How do I completely uninstall Node.js, and reinstall from ...
I'm trying to install libraries via NPM so that I can work on a project. I tried using BREW to update before NVM,...
Read more >
ARIB TR-T12-33.902 V4.0.0 Formal Analysis of the 3G ...
3GPP TR 33.902 V4.0.0 (2001-09). Technical Report ... will not "crash" or fall into failure scenarios. ... AVn} of letters in the word...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found