小编Lav*_*Ren的帖子

nvm use 退出状态 1:访问被拒绝

我之前安装了nodejs,没有nvm,然后通过卸载并删除所有文件将其彻底删除。

我使用的是 Windows 10。

当我以管理员身份使用 run 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.
Run Code Online (Sandbox Code Playgroud)

node.js npm nvm yarnpkg nvm-windows

11
推荐指数
2
解决办法
2万
查看次数

git克隆错误错误:RPC失败;在底层流结束之前,curl 92 HTTP/2 流 7 没有完全关闭

每次尝试克隆新存储库时,我都会收到此错误,第二次克隆它时,它工作正常。可能是什么原因造成的以及如何解决?

Cloning into 'Important-Documents'...
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (83/83), done.
remote: Compressing objects: 100% (81/81), done.
error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly before end of the underlying stream
error: 4241 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Run Code Online (Sandbox Code Playgroud)

git github windows-10

5
推荐指数
1
解决办法
5659
查看次数

标签 统计

git ×1

github ×1

node.js ×1

npm ×1

nvm ×1

nvm-windows ×1

windows-10 ×1

yarnpkg ×1