jspm install 报错
$ jspm install
(node:11236) [DEP0128] DeprecationWarning: Invalid 'main' field in 'D:\work\safety\node_modules\jspm-npm\package.json' of 'npm.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
Looking up npm:axios
Looking up npm:form-serialize
Updating registry cache...
Looking up npm:follow-redirects
ok Installed form-serialize as npm:form-serialize@^0.7.1 (0.7.1)
Looking up github:jspm/nodelibs-https
Looking up github:jspm/nodelibs-url
Downloading github:jspm/nodelibs-https@0.1.0
Looking up npm:https-browserify
Downloading npm:https-browserify@0.0.0
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)
Looking up github:jspm/nodelibs-stream
Looking up github:jspm/nodelibs-assert
ok Installed npm:ms@0.7.2 (0.7.2)
ok Installed npm:https-browserify@0.0.0 (0.0.0)
Downloading github:jspm/nodelibs-stream@0.1.0
Looking up npm:stream-browserify
Looking up npm:inherits
Looking up npm:readable-stream
ok Installed npm:stream-browserify@^1.0.0 (1.0.0)
ok Installed npm:inherits@~2.0.1 (2.0.1)
Looking up npm:core-util-is
Looking up npm:isarray
Looking up npm:string_decoder
ok Installed npm:readable-stream@^1.0.27-1 (1.1.14)
ok Installed npm:core-util-is@~1.0.0 (1.0.2)
ok Installed npm:isarray@0.0.1 (0.0.1)
ok Installed npm:string_decoder@~0.10.0 (0.10.31)
warn Error on locate for github:jspm/nodelibs-buffer, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
warn Error on locate for github:systemjs/plugin-json, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
warn Error on locate for github:jspm/nodelibs-process, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
warn Error on locate for github:jspm/nodelibs-zlib, retrying (1).
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Looking up github:jspm/nodelibs-process
warn Error on lookup for github:jspm/nodelibs-url, retrying (1).
Error: fatal: unable to access 'jspm/nodelibs-url.git/': Failed to connect to github.com port 443 after 21026 ms: Timed out
warn Error on download for github:jspm/nodelibs-https
Error: connect ETIMEDOUT 20.205.243.166:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
err Error downloading github:jspm/nodelibs-https.
warn Installation changes not saved.
对前端不熟悉. 尝试解决了一下无果. 尝试挂VPN也不行 请教老师怎么解决这个问题呢