-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add --install
option when sourcing nvm.sh
#545
Comments
The code at the end of However, I do see that if I have a Certainly this might be surprising the first time you source Could you perhaps wait to create a |
That doesn't fit the scenario... We have the We would have to cache the |
There are many solutions to my problem that doesn't require to resign from the logic you describe; perhaps |
I like that suggestion; I'll take a look at that. |
@mzgol I can definitely add support for |
@ljharb Sure! I just care so that it doesn't error. :) |
I'm having trouble with this since it seems like |
--install
option when sourcing nvm.sh
In my Jenkins setup, running on Bash
4.3.11(1)
on Ubuntu 14.04.1 LTS, nvm is installed in the following way:This results in checking out
0.17.2
currently. Then, in the run script it's activated via:which errors with
N/A version is not installed yet
, breaking the build. If I don't require all commands to end with status 0, and invokenvm install
with.nvmrc
concaining0.10
afterwards, it works fine.The only problem seems to be the initial error.
The text was updated successfully, but these errors were encountered: