-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
"nvm set default" vs. "nvm use" #38
Comments
Hi Arturo, It's not really intended, I'll fix that. Best regards |
Should be good now project1$ echo 0.10 > .nvmrc
project2$ echo 4 > .nvmrc
project3$ # default Node version Let me know if there are still problems. |
Awesome! I've tested it and works like a charm. Adding some debugging in
Result:
Thanks a lot! 👍 |
Great :) you're welcome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello all,
I'm having this issue since version 0.11.0 (commit 11ae323)
I work on a project that relies on different Node.js versions. My default
nvm
version is set to 0.10.42, and then I usenvm use
to switch to the other version, v4.3.0.However,
husky
will always use the default version instead of the one currently in use bynvm
. Which works fine whenever I'm working on a 0.10.42 project, but won't work so smooth when I'm working on v4.3.0.Example:
Is this intended functionality? If so, does anybody know of a way to solve this without having to use
nvm set default
all the time, instead ofnvm use
?Best regards,
Arturo
The text was updated successfully, but these errors were encountered: