-
Notifications
You must be signed in to change notification settings - Fork 413
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
fnm use
fails if node version doesn't exist
#75
Comments
Hi @julen and sorry for the inconvenience! This is v1.7.1. I agree that |
I'm using v1.6.2 on Mac OS 10.13.6. I believe the error happens when you have zero node installations handled by fnm. Try removing those versions you have (or moving the |
Woah, very good. I'm pushing a fix to that! thanks |
Similar to #11, running
fnm use
when no node versions have been installed results in the same unfriendly error message and 125 error code:As a user I'd expect
fnm use
to install the version in case it didn't exist before. Please forgive if this is intended as my expectations come from usingnvm
before 😁; in such case, providing a friendlier message and pointing tofnm install
would help.The text was updated successfully, but these errors were encountered: