code-push-server icon indicating copy to clipboard operation
code-push-server copied to clipboard

at Zlib.zlibOnError [as onerror] (zlib.js:182:17)

Open askie opened this issue 4 years ago • 0 comments

一直推不上来,打开日志后,是这个错误:

2021-12-10T05:00:56.423996223Z [36m[2021-12-10T05:00:56.423] [DEBUG] cps:utils:security - [39mgenerate file identical
2021-12-10T05:00:56.424832214Z [36m[2021-12-10T05:00:56.424] [DEBUG] cps:utils:common - [39mcreateEmptyFolder Create dir /tmp/codepuh_MIWnkOYD0Ij94urO0DN7CQLwVvcRSpZ3/current
2021-12-10T05:00:56.42673283Z [36m[2021-12-10T05:00:56.426] [DEBUG] cps:utils:common - [39mdeleteFolder delete /tmp/codepuh_MIWnkOYD0Ij94urO0DN7CQLwVvcRSpZ3/current success.
2021-12-10T05:00:56.441117016Z (node:33) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2021-12-10T05:00:56.441229428Z [36m[2021-12-10T05:00:56.437] [DEBUG] cps:utils:security - [39midentical: Fh9LUpuieFj2KHR_u2akU7vykYVD
2021-12-10T05:00:56.441235598Z [36m[2021-12-10T05:00:56.438] [DEBUG] cps:utils:common - [39munzipFile check zipFile /tmp/upload_81b6fbe6b4b934788eed02bd49639ae2 fs.R_OK
2021-12-10T05:00:56.441240607Z [36m[2021-12-10T05:00:56.438] [DEBUG] cps:utils:common - [39mPass unzipFile file /tmp/upload_81b6fbe6b4b934788eed02bd49639ae2
2021-12-10T05:00:56.625821777Z [91m[2021-12-10T05:00:56.624] [ERROR] cps:utils:common - [39mError: invalid stored block lengths
2021-12-10T05:00:56.625885955Z     at Zlib.zlibOnError [as onerror] (zlib.js:182:17) {
2021-12-10T05:00:56.625893163Z   errno: -3,
2021-12-10T05:00:56.625898038Z   code: 'Z_DATA_ERROR'
2021-12-10T05:00:56.625902837Z }

使用的是

code-push -v
2.1.9

askie avatar Dec 10 '21 09:12 askie