Обновление версии узла в Windows
npm install -g node@<version>
example: npm install -g node@v16.6
Yun
npm install -g node@<version>
example: npm install -g node@v16.6
nvm install latest
#Run PowerShell as Admin
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade