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

Is this project officially unsupported? #109

Open
yaronuliel opened this issue Oct 17, 2021 · 3 comments
Open

Is this project officially unsupported? #109

yaronuliel opened this issue Oct 17, 2021 · 3 comments

Comments

@yaronuliel
Copy link

Having trying to follow along with the installation process on Node version 14.x and Node version 16.x - I got errors, which according to the rest of the issues in this repo are not specific to my environment.

When I switch back to Node version 10.x I seem to get through the process without errors (though I see some other issues)

The last commit in the project was on July 15th, 2020 (15 months ago at the day of writing) - and I see no announcement of decommissioning / deprecation of the project

It is safe to assume that no further development / bugfixes will be merged into the repo?
I'd like to know if it is worth trying to contribute

@wbyoung
Copy link
Owner

wbyoung commented Oct 17, 2021

I personally haven't done any coding in a few years. And before that, I also wasn't using this project because I had changed to using containers.

So I'm happy to review PRs, add contributors, and eventually turn the project over to someone else.

One thing I was working on long ago was getting Babel set up for the project so the code base can be modernized. So obviously, getting things working with all current (and old) environments is a priority. Then probably getting CI working again, then maybe improving error messaging and assistance when things go wrong, and finally modernizing the code base.

If this is interesting to you, go for it!

@wyuenho
Copy link

wyuenho commented Mar 22, 2022

direnv has largely obsoleted this project for me.

https://direnv.net/man/direnv-stdlib.1.html#codeuse-node-ltversiongtcode

@strazto
Copy link

strazto commented Oct 18, 2022

I second @wyuenho 's advocacy of direnv, though I'd like to present a few usable .envrc 's as drop-ins for avn's functionality:

# .envrc

use_nvm() {
  local node_version=$1

  local nvm_sh=~/.nvm/nvm.sh
  if [[ -e $nvm_sh ]]; then
    source $nvm_sh
    nvm use $node_version
  fi
}

use_nvm

The following also works (I personally found the documentation for NODE_VERSION_PREFIX fairly ambiguous which is why I'm putting this here)

# .envrc
# In most cases, NVM_DIR is the following
# NVM_DIR="$HOME/.nvm"

# We need to tell it where to find our node versions
export NODE_VERSIONS="$NVM_DIR/versions/node"
# There's no prefix for how they appear in $NVM_DIR
export NODE_VERSION_PREFIX=""
use node

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

4 participants