img

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
D:\Users\th>nvm uninstall 16.14.2
Uninstalling node v16.14.2... done
D:\Users\th>nvm install lts
Downloading node.js version 16.14.2 (64-bit)...
Extracting...
Complete


Installation complete. If you want to use this version, type

nvm use 16.14.2

D:\Users\th>nvm use 16.14.2
exit status 1: The system cannot find the path specified.

D:\Users\th>nvm use 16.14.2
exit status 1: The system cannot find the path specified.

D:\Users\th>nvm use 16.14.2
Now using node v16.14.2 (64-bit)

Solution:

The reason is that the directory selected during installation does not exist. So we need to manually establish an NVM here to provide a soft connection

img