Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6052

You have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment

$
0
0

I'm trying to reinstall nvm (as a new user) after uninstalling it (as root) but clearly it didn't work. Please tell me how to fix this.

user@site-beta:~/htdocs$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed100 13527  100 13527    0     0   105k      0 --:--:-- --:--:-- --:--:--  105kYou have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment.

Edit: my advice is to give up on NVM and just install node normally, because clearly NVM isnt making it any easier.


Viewing all articles
Browse latest Browse all 6052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>