jsmp install报错,该怎么解决

来源:2-2 环境搭建下

zzy0113

2022-09-26

C:\Users\Administrator\Desktop\loudongw\coding-104>jspm install
Looking up npm:axios
Looking up npm:form-serialize
Looking up npm:js-md5
Looking up npm:md5
Updating registry cache…
Looking up npm:charenc
Looking up npm:crypt
Looking up npm:is-buffer
Looking up npm:follow-redirects
ok Installed form-serialize as npm:form-serialize@^0.7.1 (0.7.1)
ok Installed npm:charenc@~0.0.1 (0.0.2)
ok Installed npm:crypt@~0.0.1 (0.0.2)
ok Installed npm:is-buffer@~1.1.1 (1.1.5)
Looking up npm:debug
ok Installed npm:follow-redirects@1.0.0 (1.0.0)
Looking up npm:ms
ok Installed npm:debug@^2.2.0 (2.6.3)
ok Installed npm:ms@0.7.2 (0.7.2)

warn Error on locate for github:jspm/nodelibs-assert, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)

warn Error on locate for github:jspm/nodelibs-url, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)

warn Error on locate for github:jspm/nodelibs-https, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)

warn Error on locate for github:jspm/nodelibs-buffer, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)

warn Error on locate for github:jspm/nodelibs-process, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)

warn Error on locate for github:jspm/nodelibs-crypto, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)

warn Error on locate for github:systemjs/plugin-json, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)

warn Error on locate for github:jspm/nodelibs-http, retrying (1).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-stream, retrying (1).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-assert, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-url, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-https, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-process, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-buffer, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-crypto, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:systemjs/plugin-json, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-stream, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-http, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Timed out on locate for github:jspm/nodelibs-zlib, retrying (1).
To increase the timeout run jspm config registries.github.timeouts.lookup 120

warn Error on locate for github:jspm/nodelibs-assert, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-https, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-url, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-buffer, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-process, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-crypto, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:systemjs/plugin-json, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-stream, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-http, retrying (3).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-zlib, retrying (2).
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

warn Error on locate for github:jspm/nodelibs-assert
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16)

err Error locating github:jspm/nodelibs-assert.

warn Installation changes not saved.

写回答

1回答

TooooBug

2022-10-08

和之前其他学员的错误一样的,参考回答:


你这个错误很明显是网络访问github不通畅。可能梯子姿势没太对,可以考虑打开全局代理进行安装试试看,或者设置一下http_proxy和https_proxy的值为本地梯子的代理端口。

0
0

腾讯大牛亲授 Web前后端漏洞分析与防御技巧

提高每一行代码安全系数,突破前后端开发Web安全弱项

1186 学习 · 112 问题

查看课程