o2_fans 发表于 2023-12-5 09:22:39

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

参照源码编译教程, 运行到 npm run build_ci 会报错, 经排查 下载的 commons.git.tar.gz 和 jvm_git.tar.gz 有问题
在 gulpfile.js downloadFile_progress 方法中 中打印下载地址

https://git.o2oa.net/o2oa/evn-o2server-commons/-/archive/8.1/evn-o2server-commons-8.1.tar.gz?path=commons
https://git.o2oa.net/o2oa/evn-o2server-jvm/-/archive/master/evn-o2server-jvm-master.tar.gz?path=jvm

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


https://www.o2oa.net/forum/static/image/hrline/1.gif
以下为运行日志

https://www.o2oa.net/forum/static/image/hrline/1.gif



npm run build_ci

Finished 'clear_build' after 10 ms

> o2oa@4.0.3763 preperation
> gulp preperation

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

论坛管理员 发表于 2023-12-5 16:26:34

不好意思,git早上在升级,辛苦您再试试看
页: [1]
查看完整版本: 源码编译 相关依赖下载失败 下载的 commons.git.tar.gz 和 jvm_gi...