首页 新闻 赞助 找找看

Build angular 项目时报错:"Error: Invalid or unsupported zip format. No END header found"

0
悬赏园豆:30 [已解决问题] 解决于 2022-06-08 10:42

npm run build 命令 build angular 项目时报下面的错,请问如何解决?

ClientApp/blog-admin/node_modules/adm-zip/zipFile.js:101
#30 139.7         if (!~endOffset) throw new Error(Utils.Errors.INVALID_FORMAT);
#30 139.7                          ^
#30 139.7 
#30 139.7 Error: Invalid or unsupported zip format. No END header found
#30 139.7     at readMainHeader (ClientApp/blog-admin/node_modules/adm-zip/zipFile.js:101:32)
#30 139.7     at new module.exports (ClientApp/blog-admin/node_modules/adm-zip/zipFile.js:19:9)
#30 139.7     at new module.exports (ClientApp/blog-admin/node_modules/adm-zip/adm-zip.js:62:18)
#30 139.7     at WriteStream.<anonymous> (ClientApp/blog-admin/download-iconfont.js:24:21)
#30 139.7     at WriteStream.emit (node:events:402:35)
#30 139.7     at finish (node:internal/streams/writable:750:10)
#30 139.7     at finishMaybe (node:internal/streams/writable:735:9)
#30 139.7     at afterWrite (node:internal/streams/writable:504:3)
#30 139.7     at onwrite (node:internal/streams/writable:477:7)
#30 139.7     at node:internal/fs/streams:410:5
dudu的主页 dudu | 高人七级 | 园豆:31384
提问于:2022-06-08 07:33
< >
分享
最佳答案
0

是 www.iconfont.cn 站点无法访问引起的

Iconfont系统升级维护中,预计今日15点左右恢复基础服务。给您带来不便,敬请谅解。

dudu | 高人七级 |园豆:31384 | 2022-06-08 10:42
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册