Open scottnonnenberg opened 8 years ago
Any updates on this?
Nope, nobody's submitted a PR.
An alternative way to "debug" is using set -x
before a nvm command:
$ set -x
$ nvm install 10
then a lot of output will be printed, I hope it helps :smile:
That works, but is a pretty big hammer :-) a more tightly focused option would be nice.
For Future Googler's
I was using a fresh Ubuntu installation, and forgot to install curl
.
sudo apt install curl
After this I was able to see the nvm install 8
output...
Hi @ljharb, @gitburd and I are looking into this and wondering if you can point us toward what sort of "more tightly focused option" could be used here?
@naomiquinones that comment was mostly about the set -x
over the entire nvm install
command. A --verbose
option that printed helpful info, but not quite as much as set -x
does, would likely be helpful.
I ran into some slowness here, thought
nvm
was hanging since it took over 2 minutes to do annvm ls-remote
: https://github.com/creationix/nvm/issues/1157A
--verbose
option fornvm install
/nvm ls-remote
/nvm version-remote
would really be useful to enable end users to diagnose their own issues. Specifically, if DNS/network/disk issues can have a negative effect onnvm
, it will be useful to collect that information to better place blame.