nvm use does not switch node versions

Table of Contents

nvm use does not switch node versions

I had to delete the folder located at C:\Program Files\nodejs:

enter image description here

And then run nvm use {version} again to repopulate this folder with the correct node version.

I suspect that nvm is having trouble deleting this folder due to permission issues.

image

other command

nvm install 16.15.0

nvm install node

nvm ls
nvm use --lts
nvm use 16.16.0

https://stackoverflow.com/questions/47017812/nvm-use-does-not-switch-node-versions

Leave a Reply

Your email address will not be published. Required fields are marked *