【发布时间】:2022-01-09 14:54:45
【问题描述】:
我之前安装过没有nvm的nodejs,然后通过卸载并删除所有文件将其完全删除。
我使用的是 Windows 10。
当我以管理员身份运行 powershell 时它可以工作,但我无法在 vscode 中使用 yarn。
PS C:\Users\laveen> nvm ls
No installations recognized.
PS C:\Users\laveen> nvm install 14.18.1
Downloading node.js version 14.18.1 (64-bit)...
Complete
Creating C:\Users\laveen\AppData\Roaming\nvm\temp
Downloading npm version 6.14.15... Complete
Installing npm v6.14.15...
Installation complete. If you want to use this version, type
nvm use 14.18.1
PS C:\Users\laveen> nvm use 14.18.1
exit status 1: Access is denied.
【问题讨论】:
标签: node.js npm yarnpkg nvm nvm-windows