My cmd tries to use a user folder that doesn't exist

Viewed 24

I am trying to upgrade node.js but when using the command nvm uses a USERNAME that is not registered on my computer and not the USERNAME I have always used. This is the error message I get

2 Answers

Step 1: type in cmd prompt nvm -v If it doesnt return error it means it is installed. There must be some other issue. If error returns same as nvm doesnt exist on device. Move to step 2.

Step 2: U need to download the zip package of nvm for windows on ur device manually and then install it.

Step 3: Once it is installed. Try step 1 again.

Step4: Now u ready to install any version of node on ur device. nvm 12

Further details can be found on link below

https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows

Related