之前也是同样的方式,是安装的成功的,今天安装的时候一直是失败的 UnzipError: invalid distance too far back, GET https://r.npm.taobao.org/is-typedarray 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":369,"freeSockets":{"r.npm.taobao.org:443::::::::::::::::::":1,"r.npm.taobao.org:443::::::::true::::::::::":3},"sockets":{"r.npm.taobao.org:443::::::::true::::::::::":7},"requests":{}}, socketHandledRequests: 38, socketHandledResponses: 38) headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"374","connection":"keep-alive","date":"Thu, 26 Nov 2020 06:43:18 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/"2dd278432a90c4c144b2a2e90bffd52d"","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"39","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache23.l2cn1801, izbp11dsagbzylz6yon5vvz, cache23.l2cn1801[75,304-0,M], cache15.l2cn1801[75,0], kunlun10.cn462[0,200-0,H], kunlun7.cn462[1,0]","x-hit-cache":"list-is-typedarray-v1","x-swift-error":"forward peer connect close","content-encoding":"gzip","ali-swift-global-savetime":"1599054325","age":"3","x-cache":"HIT TCP_MEM_HIT dirn:0:85095476","x-swift-savetime":"Thu, 26 Nov 2020 06:43:18 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529b16063730014994739e"} at Zlib.zlibOnError [as onerror] (zlib.js:180:17) npminstall version: 3.28.0 npminstall args: C:\Program Files\nodejs\node.exe D:\App\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\peam.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://r.npm.taobao.org
$ cnpm install
× Install fail! Error: EISDIR: illegal operation on a directory, symlink 'D:\vue-demo\node_modules._connect-history-api-fallback@1.3.0@connect-history-api-fallback' -> 'D:\vue-demo\node_modules\connect-history-api-fallback'
Error: EISDIR: illegal operation on a directory, symlink 'D:\vue-demo\node_modules._connect-history-api-fallback@1.3.0@connect-history-api-fallback' -> 'D:\vue-demo\node_modules\connect-history-api-fallback'
at Error (native)
npminstall version: 2.29.1
npminstall args: C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\cnpm\node_modules\npminstall\bin\install.js --china --userconfig=C:\Users\Administrator.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://registry.npm.taobao.org 协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/weixin_39683021/article/details/111751392
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。