-
Notifications
You must be signed in to change notification settings - Fork 30
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
Eduardo Add .nvmrc
file. Node v14.
#612
Conversation
.nvmrc file
. Node v14..nvmrc
file. Node v14.
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.
Followed instructions, running nvm i
set the node version to v14.21.3. App runs correctly.
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.
Thought my computer was going to undergo a catastrophic error there for a bit while nvm i was running lol. Have tested it and found it to perform exactly as intended. Really did simplify the process for mac users.
What I did:
Delete my old version of node that I used with HGN (v14.17.6)
confirm deletion with nvm ls
Then run nvm i (takes a bit of time to install, so don't panic)
Afterwards, confirm installation via "nvm ls". You should see the node version installed
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.
After testing, I found that everything works exactly as intended. Great work!
Hey, Left a comment in the FE PR. Thank you |
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.
Description
In this pull request, we're introducing a valuable addition to our project - the
.nvmrc
file. This file is designed to streamline the process of managing Node.js versions, ensuring that collaborators and contributors use the appropriate version when working on the project.Related PRS :
Front-end PR.
Main changes explained:
Do you use
nvm
?Then you can run
nvm install
ornvm i
in the project folder to install and use the most appropriate version of Node.Added .nvmrc file:
This file specifies the required Node.js version for the project.
How to test:
nvm i
andnpm i
to run this PR locallynpm run dev
Alternative testing
Video of change:
2023-11-14.14-22-27.mp4
Note:
If you already have the appropriate version of Node installed in your environment, running the command will perform the checkout.