NodeJS npm安装react-native-webrtc失败

qmelpv7a  于 2022-12-03  发布在  Node.js
关注(0)|答案(1)|浏览(238)

npm安装React Nativewebrtc--保存

C:\Windows\system32\cmd.exe /d /s /c node tools/downloadWebRTC.js
npm ERR! Downloading https://github.com/jitsi/webrtc/releases/download/v106.0.1/android-webrtc.zip...
npm ERR! node:internal/process/promises:246
npm ERR!           triggerUncaughtException(err, true /* fromPromise */);
npm ERR!           ^
npm ERR!
npm ERR! Error: read ECONNRESET
npm ERR!     at TLSWrap.onStreamRead (node:internal/stream_base_commons:220:20) {
npm ERR!   errno: -4077,
npm ERR!   code: 'ECONNRESET',
npm ERR!   syscall: 'read'
npm ERR! }

JDK:1.8;节点:16.12.0;我怎样才能把它修好呢?

jtw3ybtb

jtw3ybtb1#

请尝试此命令。

npm config set registry http://registry.npmjs.org/

如果不运行此

npm config get proxy
npm config rm proxy
npm config rm https-proxy

相关问题