Closed eugenetriguba closed 2 years ago
The index path aka $nvm_data
is created here
which runs when you install nvm. If you also happen to uninstall nvm and install it again it will be recreated too.
So, how did you get into a situation where it didn't exist?
If the $index path does not exist in
_nvm_index_update
, it shows an error about not being able to update the index because the host is unavailable. However, really, it is because that index directory path is missing.