查看: 1034|回复: 1

源码编译 相关依赖下载失败 下载的 commons.git.tar.gz 和 jvm_gi...

升级   10%

1

主题

2

回帖

65

积分

注册会员

Rank: 2

积分
65
发表于 2023-12-5 09:22:39 | 显示全部楼层 |阅读模式
参照源码编译教程, 运行到 npm run build_ci 会报错, 经排查 下载的 commons.git.tar.gz 和 jvm_git.tar.gz 有问题
在 gulpfile.js downloadFile_progress 方法中 中打印下载地址

[09:16:10] https://git.o2oa.net/o2oa/evn-o2 ... tar.gz?path=commons
[09:16:10] https://git.o2oa.net/o2oa/evn-o2 ... ter.tar.gz?path=jvm

手动访问也是报错的, 请检查相关服务是否正常



以下为运行日志





npm run build_ci

[09:16:08] Finished 'clear_build' after 10 ms

> o2oa@4.0.3763 preperation
> gulp preperation

[09:16:10] Using gulpfile ~\IdeaProjects\O2OA\gulpfile.js
[09:16:10] Starting 'preperation'...
[09:16:10] Starting 'download_commons_and_jvm'...
[09:16:10] begin download commons and jvm
---------------------------------------------------------------------
  . Start to download the dependencies needed for compilation ...
---------------------------------------------------------------------
[09:16:10] https://git.o2oa.net/o2oa/evn-o2 ... tar.gz?path=commons
[09:16:10] https://git.o2oa.net/o2oa/evn-o2 ... ter.tar.gz?path=jvm
Downloading commons_git.tar.gz ... √ commons_git.tar.gz Downloaded!
Downloading jvm_git.tar.gz ... √ jvm_git.tar.gz Downloaded!
[09:16:16] download commons and jvm completed
[09:16:16] Finished 'download_commons_and_jvm' after 6.38 s
[09:16:16] Starting 'decompress_commons_and_jvm'...
---------------------------------------------------------------------
  . Start to decompress the dependencies needed for compilation ...
---------------------------------------------------------------------
[09:16:16] begin decompress commons and jvm
[09:16:16] decompress error : common.tar.gz  Error: incorrect header check
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
    at Zlib.callbackTrampoline (node:internal/async_hooks:130:17) {
  errno: -3,
  code: 'Z_DATA_ERROR'
}
[09:16:16] decompress error : jvm.tar.gz  Error: incorrect header check
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
    at Zlib.callbackTrampoline (node:internal/async_hooks:130:17) {
  errno: -3,
  code: 'Z_DATA_ERROR'
}
[09:16:16] The following tasks did not complete: preperation, decompress_commons_and_jvm
[09:16:16] Did you forget to signal async completion?

回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37139
发表于 2023-12-5 16:26:34 | 显示全部楼层
不好意思,git早上在升级,辛苦您再试试看
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread