I have Node.js version 14.18.1 installed and I want to update to 16.10.0 for patibility for a project. To upgrade I have installed the latest version of nvm (1.1.8) and did nvm install 16.10.0
. And then nvm use 16.10.0
and got the error: exit status 145: The directory is not empty.
I tried looking this up, but couldn't find anyone on the internet encountering the same issue.
I have also tried adding the path at C:\Users\*user*\AppData\Roaming\nvm\settings.txt
to my system environment path, but that didn't work either. Does anyone have an idea as to what might work? Thank you.
I have Node.js version 14.18.1 installed and I want to update to 16.10.0 for patibility for a project. To upgrade I have installed the latest version of nvm (1.1.8) and did nvm install 16.10.0
. And then nvm use 16.10.0
and got the error: exit status 145: The directory is not empty.
I tried looking this up, but couldn't find anyone on the internet encountering the same issue.
I have also tried adding the path at C:\Users\*user*\AppData\Roaming\nvm\settings.txt
to my system environment path, but that didn't work either. Does anyone have an idea as to what might work? Thank you.
- stackoverflow./questions/28313372/… – mentat Commented Nov 11, 2021 at 1:12
- Try this suggestion of deleting the folder for windows. github./coreybutler/nvm-windows/issues/… – inrsaurabh Commented Mar 14, 2022 at 5:07
1 Answer
Reset to default 7I solved by:
Delete all contents of folder path: C:\Program Files\nodejs
and try to run nvm use 16.10.0
again.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744357696a4570313.html
评论列表(0条)