昨天这个找到原因了是,是因为 caves 这个库导致,把这个依赖删除就可以了
部署失败,控制台也没有输出任何的错误日志?下面是控制台的输出,请帮忙看看,是什么原因: [2024-07-30 09:36:21] Started by user coding [2024-07-30 09:36:21] Running in Durability level: MAX_SURVIVABILITY [2024-07-30 09:36:22] [Pipeline] Start of Pipeline [2024-07-30 09:36:22] [Pipeline] node [2024-07-30 09:36:22] Running on Jenkins in /root/workspace [2024-07-30 09:36:22] [Pipeline] { [2024-07-30 09:36:22] [Pipeline] stage [2024-07-30 09:36:22] [Pipeline] { (检出 ZIP 包) [2024-07-30 09:36:22] Stage "检出 ZIP 包" skipped due to when conditional [2024-07-30 09:36:22] [Pipeline] } [2024-07-30 09:36:22] [Pipeline] // stage [2024-07-30 09:36:23] [Pipeline] stage [2024-07-30 09:36:23] [Pipeline] { (检出代码仓库) [2024-07-30 09:36:23] [Pipeline] sh [2024-07-30 09:36:23] + git clone ****** . [2024-07-30 09:36:23] Cloning into '.'... [2024-07-30 09:36:25] [Pipeline] sh [2024-07-30 09:36:25] + git checkout master [2024-07-30 09:36:25] Already on 'master' [2024-07-30 09:36:25] Your branch is up-to-date with 'origin/master'. [2024-07-30 09:36:25] [Pipeline] } [2024-07-30 09:36:25] [Pipeline] // stage [2024-07-30 09:36:25] [Pipeline] stage [2024-07-30 09:36:25] [Pipeline] { (构建 Docker 镜像) [2024-07-30 09:36:25] [Pipeline] sh [2024-07-30 09:36:25] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-tpkg/ca-pbnuehaw_express-9bgg:express-9bgg-027-20240730093618 [2024-07-30 09:36:25] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30 09:36:25] WARNING! Your password will be stored unencrypted in /root/.docker/config.json. [2024-07-30 09:36:25] Configure a credential helper to remove this warning. See [2024-07-30 09:36:25] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2024-07-30 09:36:25] [2024-07-30 09:36:25] Login Succeeded [2024-07-30 09:36:25] [Pipeline] sh [2024-07-30 09:36:26] + docker build -f ././/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-tpkg/ca-pbnuehaw_express-9bgg:express-9bgg-027-20240730093618 ./ [2024-07-30 09:36:26] DEPRECATED: The legacy builder is deprecated and will be removed in a future release. [2024-07-30 09:36:26] Install the buildx component to build images with BuildKit: [2024-07-30 09:36:26] https://docs.docker.com/go/buildx/ [2024-07-30 09:36:26] [2024-07-30 09:36:26] Sending build context to Docker daemon 16.68MB [2024-07-30 09:36:26] Step 1/7 : FROM node:20.16.0 [2024-07-30 09:36:27] 20.16.0: Pulling from library/node [2024-07-30 09:36:27] ca4e5d672725: Pulling fs layer [2024-07-30 09:36:27] 30b93c12a9c9: Pulling fs layer [2024-07-30 09:36:27] 10d643a5fa82: Pulling fs layer [2024-07-30 09:36:27] d6dc1019d793: Pulling fs layer [2024-07-30 09:36:27] ea8e6f2ca326: Pulling fs layer [2024-07-30 09:36:27] 19951d6e9461: Pulling fs layer [2024-07-30 09:36:27] 247e8d31d16f: Pulling fs layer [2024-07-30 09:36:27] 282ebe8f0e48: Pulling fs layer [2024-07-30 09:36:27] 282ebe8f0e48: Verifying Checksum [2024-07-30 09:36:27] 282ebe8f0e48: Download complete [2024-07-30 09:36:27] ea8e6f2ca326: Download complete [2024-07-30 09:36:27] 247e8d31d16f: Download complete [2024-07-30 09:36:27] 30b93c12a9c9: Verifying Checksum [2024-07-30 09:36:27] 30b93c12a9c9: Download complete [2024-07-30 09:36:28] 19951d6e9461: Verifying Checksum [2024-07-30 09:36:28] 19951d6e9461: Download complete [2024-07-30 09:36:28] ca4e5d672725: Verifying Checksum [2024-07-30 09:36:28] ca4e5d672725: Download complete [2024-07-30 09:36:28] 10d643a5fa82: Verifying Checksum [2024-07-30 09:36:28] 10d643a5fa82: Download complete [2024-07-30 09:36:29] ca4e5d672725: Pull complete [2024-07-30 09:36:29] 30b93c12a9c9: Pull complete [2024-07-30 09:36:31] 10d643a5fa82: Pull complete [2024-07-30 09:36:43] d6dc1019d793: Verifying Checksum [2024-07-30 09:36:43] d6dc1019d793: Download complete [2024-07-30 09:36:47] d6dc1019d793: Pull complete [2024-07-30 09:36:47] ea8e6f2ca326: Pull complete [2024-07-30 09:36:48] 19951d6e9461: Pull complete [2024-07-30 09:36:48] 247e8d31d16f: Pull complete [2024-07-30 09:36:48] 282ebe8f0e48: Pull complete [2024-07-30 09:36:48] Digest: sha256:1ae9ba874435551280e95c8a8e74adf8a48d72b564bf9dfe4718231f2144c88f [2024-07-30 09:36:48] Status: Downloaded newer image for node:20.16.0 [2024-07-30 09:36:48] ---> 1a8e51cfa7a5 [2024-07-30 09:36:48] Step 2/7 : WORKDIR /usr/src/app [2024-07-30 09:36:48] ---> Running in c2afaa1b6a45 [2024-07-30 09:36:48] Removing intermediate container c2afaa1b6a45 [2024-07-30 09:36:48] ---> 9f4a601b61a6 [2024-07-30 09:36:48] Step 3/7 : COPY package*.json ./ [2024-07-30 09:36:48] ---> a7777461df94 [2024-07-30 09:36:48] Step 4/7 : RUN npm config set registry https://mirrors.tencent.com/npm/ [2024-07-30 09:36:48] ---> Running in 997ca628dc85 [2024-07-30 09:36:49] Removing intermediate container 997ca628dc85 [2024-07-30 09:36:49] ---> 57b46a5b40e1 [2024-07-30 09:36:49] Step 5/7 : RUN npm install [2024-07-30 09:36:49] ---> Running in 35f2c2597552 [2024-07-30 09:46:22] Sending interrupt signal to process [2024-07-30 09:46:22] Aborted by coding [2024-07-30 09:46:23] Sending interrupt signal to process [2024-07-30 09:46:23] Aborted by coding [2024-07-30 09:46:24] Sending interrupt signal to process [2024-07-30 09:46:24] Aborted by coding [2024-07-30 09:46:25] Sending interrupt signal to process [2024-07-30 09:46:25] Aborted by coding [2024-07-30 09:46:26] Terminated [2024-07-30 09:46:26] script returned exit code 143 [2024-07-30 09:46:26] [Pipeline] } [2024-07-30 09:46:26] [Pipeline] // stage [2024-07-30 09:46:26] [Pipeline] stage [2024-07-30 09:46:26] [Pipeline] { (推送 Docker 镜像到 TCR) [2024-07-30 09:46:26] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s) [2024-07-30 09:46:26] [Pipeline] } [2024-07-30 09:46:26] [Pipeline] // stage [2024-07-30 09:46:26] [Pipeline] } [2024-07-30 09:46:26] [Pipeline] // node [2024-07-30 09:46:26] [Pipeline] End of Pipeline [2024-07-30 09:46:26] Finished: ABORTED *** -----------构建express-9bgg-027----------- 2024-07-30 09:36:20 create_build_image : succ,
08-01