-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a .nvmrc file so "nvm use" will pick an appropriate node version #2835
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind also updating README.md with the suggested way to install nvm and the command to use what's specified here?
I added a note in |
if command -v nvm &> /dev/null | ||
then | ||
# Gets version from .nvmrc | ||
nvm use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will instruct people to run nvm install v18
if they haven't already, so I figured it's probably fine not to mention that directly in the CONTRIBUTING instructions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great
Personally this is what I do. Might be useful to other people as well?...