- 这个报错排查不出来,应该怎么处理?
这个是配置文件 koa的默认模板 # Auto-generated by weixin cloudbase vscode extension FROM ccr.ccs.tencentyun.com/weixincloud/wxcloud-livecoding-toolkit:latest AS toolkit FROM alpine:3.13 COPY --from=toolkit nodemon /usr/bin/nodemon RUN apk add ca-certificates RUN apk add --update --no-cache nodejs npm WORKDIR /app COPY package*.json /app RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ RUN npm install COPY . /app CMD [ "nodemon", "-x", "npm start", "-w", "/app", "-e", "java, js, mjs, json, ts, cs, py, go" ] 下面是部署细节 部署开始于 2022-08-07 14:57:00 AppID: wxc4f9ba0e01dffd86 环境名称:prod-9gkn006z9f5bb066 [1/2] 执行流水线 已取消 0s [2022-08-07 14:57:13] Started by user coding [2022-08-07 14:57:13] Running in Durability level: MAX_SURVIVABILITY [2022-08-07 14:57:14] [Pipeline] Start of Pipeline [2022-08-07 14:57:14] [Pipeline] node [2022-08-07 14:57:14] Running on Jenkins in /root/workspace [2022-08-07 14:57:14] [Pipeline] { [2022-08-07 14:57:14] [Pipeline] stage [2022-08-07 14:57:14] [Pipeline] { (检出 ZIP 包) [2022-08-07 14:57:14] Stage "检出 ZIP 包" skipped due to when conditional [2022-08-07 14:57:15] [Pipeline] } [2022-08-07 14:57:15] [Pipeline] // stage [2022-08-07 14:57:15] [Pipeline] stage [2022-08-07 14:57:15] [Pipeline] { (检出代码仓库) [2022-08-07 14:57:15] [Pipeline] sh [2022-08-07 14:57:15] + git clone ****** . [2022-08-07 14:57:15] Cloning into '.'... [2022-08-07 14:57:16] [Pipeline] sh [2022-08-07 14:57:16] + git checkout master [2022-08-07 14:57:16] Already on 'master' [2022-08-07 14:57:16] Your branch is up-to-date with 'origin/master'. [2022-08-07 14:57:16] [Pipeline] } [2022-08-07 14:57:16] [Pipeline] // stage [2022-08-07 14:57:16] [Pipeline] stage [2022-08-07 14:57:16] [Pipeline] { (构建 Docker 镜像) [2022-08-07 14:57:16] [Pipeline] sh [2022-08-07 14:57:16] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-smyz/ca-quhtqrer_koa-2zqi:koa-2zqi-011-20220807145711 [2022-08-07 14:57:16] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-07 14:57:17] WARNING! Your password will be stored unencrypted in /root/.docker/config.json. [2022-08-07 14:57:17] Configure a credential helper to remove this warning. See [2022-08-07 14:57:17] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-07 14:57:17] [2022-08-07 14:57:17] Login Succeeded [2022-08-07 14:57:17] [Pipeline] sh [2022-08-07 14:57:17] + docker build -f ././/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-smyz/ca-quhtqrer_koa-2zqi:koa-2zqi-011-20220807145711 ./ [2022-08-07 14:57:17] Sending build context to Docker daemon 215.6kB [2022-08-07 14:57:17] Step 1/9 : FROM alpine:3.13 [2022-08-07 14:57:21] 3.13: Pulling from library/alpine [2022-08-07 14:57:27] 627fad6f28f7: Pulling fs layer [2022-08-07 14:57:53] 627fad6f28f7: Verifying Checksum [2022-08-07 14:57:53] 627fad6f28f7: Download complete [2022-08-07 14:57:53] 627fad6f28f7: Pull complete [2022-08-07 14:57:54] Digest: sha256:7769c38ce671534a0ddbf98633f17edbbd4a4e99cbc77ef42f9f7b78b6a1c6c2 [2022-08-07 14:57:54] Status: Downloaded newer image for alpine:3.13 [2022-08-07 14:57:54] ---> 38cacb9bafd2 [2022-08-07 14:57:54] Step 2/9 : RUN apk add ca-certificates [2022-08-07 14:57:54] ---> Running in 649cf394b7a3 [2022-08-07 14:57:54] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2022-08-07 14:57:55] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2022-08-07 14:57:55] (1/1) Installing ca-certificates (20220614-r0) [2022-08-07 14:57:55] Executing busybox-1.32.1-r9.trigger [2022-08-07 14:57:55] Executing ca-certificates-20220614-r0.trigger [2022-08-07 14:57:55] OK: 6 MiB in 15 packages [2022-08-07 14:57:55] Removing intermediate container 649cf394b7a3 [2022-08-07 14:57:55] ---> ddf371e89a48 [2022-08-07 14:57:55] Step 3/9 : RUN apk add --update --no-cache nodejs npm [2022-08-07 14:57:55] ---> Running in 49e37fa5d9b0 [2022-08-07 14:57:56] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2022-08-07 14:57:56] fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2022-08-07 14:57:56] (1/7) Installing nghttp2-libs (1.42.0-r1) [2022-08-07 14:57:56] (2/7) Installing brotli-libs (1.0.9-r3) [2022-08-07 14:57:56] (3/7) Installing c-ares (1.17.2-r0) [2022-08-07 14:57:56] (4/7) Installing libgcc (10.2.1_pre1-r3) [2022-08-07 14:57:56] (5/7) Installing libstdc++ (10.2.1_pre1-r3) [2022-08-07 14:57:56] (6/7) Installing nodejs (14.20.0-r0) [2022-08-07 14:57:57] (7/7) Installing npm (14.20.0-r0) [2022-08-07 14:57:57] Executing busybox-1.32.1-r9.trigger [2022-08-07 14:57:57] OK: 71 MiB in 22 packages [2022-08-07 14:57:58] Removing intermediate container 49e37fa5d9b0 [2022-08-07 14:57:58] ---> 8e9ce8becfdc [2022-08-07 14:57:58] Step 4/9 : WORKDIR /app [2022-08-07 14:57:58] ---> Running in 415dee2a14f0 [2022-08-07 14:57:58] Removing intermediate container 415dee2a14f0 [2022-08-07 14:57:58] ---> 04934598ea12 [2022-08-07 14:57:58] Step 5/9 : COPY package*.json /app [2022-08-07 14:57:58] When using COPY with more than one source file, the destination must be a directory and end with a / [2022-08-07 14:57:58] [Pipeline] } [2022-08-07 14:57:58] [Pipeline] // stage [2022-08-07 14:57:58] [Pipeline] stage [2022-08-07 14:57:58] [Pipeline] { (推送 Docker 镜像到 TCR) [2022-08-07 14:57:58] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s) [2022-08-07 14:57:58] [Pipeline] } [2022-08-07 14:57:58] [Pipeline] // stage [2022-08-07 14:57:58] [Pipeline] } [2022-08-07 14:57:58] [Pipeline] // node [2022-08-07 14:57:58] [Pipeline] End of Pipeline [2022-08-07 14:57:58] ERROR: script returned exit code 1 [2022-08-07 14:57:58] Finished: FAILURE *** -----------构建koa-2zqi-011----------- 2022-08-07 14:57:12 create_build_image : succ,
2022-08-07 - 微信小程序客服问题
- 需求的场景描述(希望解决的问题) 想知道客服分享 提示文字怎么改, 将可能要发送的小程序 改成 可能要发送的产品; 目前没有找到 更改的api [图片] [图片]
2019-04-17 - 微信客服助手收不到小程序卡片,只显示小白框
[图片] [图片]
2019-04-12