-
Notifications
You must be signed in to change notification settings - Fork 25
Description
git clone 或者download 源码 ,npm install 安装一直失败,有遇到同款的吗
报错如下:
21 verbose stack Error: Command failed: d:\Git\cmd\git.EXE clone --mirror -q https://github.com/abpetkov/switchery.git C:\Users\Administrator\AppData\Roaming\npm-cache_cacache\tmp\git-clone-5aa32c9b.git --config core.longpaths=true
21 verbose stack warning: templates not found in C:\Users\ADMINI1\AppData\Local\Temp\pacote-git-template-tmp\git-clone-238bb5801\AppData\Local\Temp\pacote-git-template-tmp\git-clone-238bb580
21 verbose stack fatal: unable to access 'https://github.com/abpetkov/switchery.git/': OpenSSL SSL_read: Connection was reset, errno 10054
21 verbose stack
21 verbose stack at ChildProcess.exithandler (child_process.js:294:12)
21 verbose stack at ChildProcess.emit (events.js:189:13)
21 verbose stack at maybeClose (internal/child_process.js:970:16)
21 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
22 verbose cwd F:\works\git-works\git-hub\noginx
23 verbose Windows_NT 6.1.7601
24 verbose argv "D:\nvm\nodejs\node.exe" "D:\nvm\nodejs\node_modules\npm\bin\npm-cli.js" "install"
25 verbose node v10.15.1
26 verbose npm v6.4.1
27 error code 128
28 error Command failed: d:\Git\cmd\git.EXE clone --mirror -q https://github.com/abpetkov/switchery.git C:\Users\Administrator\AppData\Roaming\npm-cache_cacache\tmp\git-clone-5aa32c9b.git --config core.longpaths=true
28 error warning: templates not found in C:\Users\ADMINI
28 error fatal: unable to access 'https://github.com/abpetkov/switchery.git/': OpenSSL SSL_read: Connection was reset, errno 10054
29 verbose exit [ 1, true ]