UnzipError: incorrect data check
See original GitHub issue- env cnpm@6.1.0 (C:\Users\GVT\AppData\Roaming\npm\node_modules\cnpm\lib\parse_argv.js) npm@6.10.0 (C:\Users\GVT\AppData\Roaming\npm\node_modules\cnpm\node_modules\npm\lib\npm.js) node@8.12.0 (D:\Program Files\nodejs\node.exe) npminstall@3.22.1 (C:\Users\GVT\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\lib\index.js) prefix=C:\Users\GVT\AppData\Roaming\npm win32 x64 10.0.17763 registry=https://r.npm.taobao.org
- error info
- [9/40] Installing babylon@^6.18.0[npminstall:get] retry GET https://r.npm.taobao.org/webpack after 100ms, retry left 4, error: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":43,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":10},"sockets":{},"requests":{}}, socketHandledRequests: 3, socketHandledResponses: 3)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun8.cn462[3,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"57","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529c16052315759058448e"}, status: 200, headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun8.cn462[3,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"57","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529c16052315759058448e"},
stack: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":43,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":10},"sockets":{},"requests":{}}, socketHandledRequests: 3, socketHandledResponses: 3)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun8.cn462[3,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"57","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529c16052315759058448e"}
at Unzip.zlibOnError (zlib.js:153:15)
/ [9/40] Installing regenerator-runtime@^0.10.5[npminstall:get] retry GET https://r.npm.taobao.org/webpack after 200ms, retry left 3, error: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":55,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":9},"sockets":{"r.npm.taobao.org:443:::::::true::":1},"requests":{}}, socketHandledRequests: 5, socketHandledResponses: 5)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun10.cn462[1,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"59","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529e16052315772134557e"}, status: 200, headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun10.cn462[1,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"59","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529e16052315772134557e"},
stack: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":55,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":9},"sockets":{"r.npm.taobao.org:443:::::::true::":1},"requests":{}}, socketHandledRequests: 5, socketHandledResponses: 5)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun10.cn462[1,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"59","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529e16052315772134557e"}
at Unzip.zlibOnError (zlib.js:153:15)
/ [9/40] Installing safe-buffer@~5.1.1[npminstall:get] retry GET https://r.npm.taobao.org/webpack after 300ms, retry left 2, error: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":75,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":10},"sockets":{},"requests":{}}, socketHandledRequests: 7, socketHandledResponses: 7)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun10.cn462[1,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"60","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529e16052315781936492e"}, status: 200, headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun10.cn462[1,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"60","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529e16052315781936492e"},
stack: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":75,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":10},"sockets":{},"requests":{}}, socketHandledRequests: 7, socketHandledResponses: 7)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun10.cn462[1,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"60","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529e16052315781936492e"}
at Unzip.zlibOnError (zlib.js:153:15)
| [9/40] Installing lodash@^4.17.4[npminstall:get] retry GET https://r.npm.taobao.org/webpack after 400ms, retry left 1, error: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":79,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":10},"sockets":{},"requests":{}}, socketHandledRequests: 8, socketHandledResponses: 8)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun5.cn462[2,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"61","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529916052315798433009e"}, status: 200, headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun5.cn462[2,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"61","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529916052315798433009e"},
stack: UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":79,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":10},"sockets":{},"requests":{}}, socketHandledRequests: 8, socketHandledResponses: 8)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun5.cn462[2,0]","content-encoding":"gzip","ali-swift-global-savetime":"1604554919","age":"61","x-cache":"HIT TCP_MEM_HIT dirn:0:127900397","x-swift-savetime":"Fri, 13 Nov 2020 01:38:38 GMT","x-swift-cachetime":"120","timing-allow-origin":"*","eagleid":"b739529916052315798433009e"}
at Unzip.zlibOnError (zlib.js:153:15)
× Install fail! UnzipError: incorrect data check, GET https://r.npm.taobao.org/webpack 200 (connected: true, keepalive socket: true, agent status: {"createSocketCount":11,"createSocketErrorCo
unt":0,"closeSocketCount":0,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":83,"freeSockets":{"r.npm.taobao.org:443:::::::::":1,"r.npm.taobao.org:443:::::::true::":8},"sockets":{"r.npm.taobao.org:443:::::::true::":2},"requests":{}}, socketHandledRequests: 8, socketHandledResponses: 8)
headers: {"server":"Tengine","content-type":"application/json; charset=utf-8","content-length":"70368","connection":"keep-alive","date":"Fri, 13 Nov 2020 01:38:38 GMT","x-current-requests":"1","vary":"accept, accept-encoding","etag":"W/\"79d846718cfeefb49d984ee27951e77a\"","x-hit-cache":"list-webpack-v1","cache-control":"max-age=0, s-maxage=120, must-revalidate","x-readtime":"20","via":"cn462.l1, kunlun10.cn462, l2cn1801.l2, cache33.l2cn1801, izbp11dsagbzylz6yon5vtz, cache33.l2cn1801[41,304-0,M], cache5.l2cn1801[41,0], kunlun10.cn462[0,200-0,H], kunlun1.cn462[0,0]","con
- describe 当我使用npm install时无任何异常.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:9
Top Results From Across the Web
zlib.error: Error -3 while decompressing: incorrect header check
Show activity on this post. So your answer to a decompression question is: don't compress it to start with?? Servers don't always respect...
Read more >incorrect header check, can not decompress with nodejs zlib
I am using serverless with serverless-http. The project was created from AWS - Node.js - Express API template. serverless.yml. service: aws-subscription-filters ...
Read more >"incorrect header check" using ZLIB Compression
I have written a simple compression program which uses ZLIB 1.1.4 to compress a chunk of data in memory. I am using the...
Read more >Information about CRC errors (seen when extracting files)
A CRC error indicates that some data in your Zip file (.zip or .zipx) is damaged. CRC stands for cyclic redundancy check. It...
Read more >zlib.gunzip() on file contents returns Error: incorrect header ...
Javascript – NodeJS: zlib.gunzip() on file contents returns Error: incorrect header check ... My script takes file data, interprets it, and spits it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
我今天也出现了这个问题,昨天还好着,今天早上突然打包不了了 at Zlib.zlibOnError [as onerror] (zlib.js:162:17)
淘宝镜像的网站为什么突然挂了,点进去就是500页面