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.

Details

  • avn 0.2.3
  • node v6.2.2
  • nvm 0.31.2
  • bash 4.3.42(1)

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

avn could not activate node default
error: no plugin passed predicate
  avn-nvm: no version matching default

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

[[ -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

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:2
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
wbyoungcommented, Jul 14, 2016

@ljharb okay, we’ll try to support it.

Also, if there’s little point in putting a version number in that file, the docs should probably be updated when you do support that so your example is more in line with how things should be used in the majority use case.

A quick question about how to get things accomplished on this side:

  • Is there a way to resolve node or lts/argon into a version number when it’s read from the .nvmrc file? Any command that can be run?
1reaction
ljharbcommented, Jul 14, 2016

Also please note that LTS support is coming to .nvmrc shortly, and there’s very little purpose in putting a full version number in that file. The common use cases are going to be node, lts/*, lts/argon, etc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

nvm aliases not recognized · Issue #52 · wbyoung/avn - GitHub
I was under the impression (based on the fact that #43 had been closed) that nvm aliases like lts/boron were now supported by...
Read more >
third_party/nvm - Git at Google
These aliases (stored under $NVM_DIR/alias/lts ), are managed by nvm , and you should not modify, remove, or create these files - expect...
Read more >
Manage Multiple Node Versions - Medium
Node Version Manager alias NVM is Node Module which helps to maintain multiple node versions in a same machine to manage various versions....
Read more >
Comprehensive Node Version Manager (NVM) Tutorial
Fortunately, Node Version Manager (NVM) makes it easy to manage. ... The above command creates an alias called my-favorite for version 6.5.0 ...
Read more >
Set default node version with NVM - Eric Binnion
Install the version that you would like nvm install 12.20.1 # Set 12.20.1 (or another version) as default nvm alias default 12.20.1.
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