开发者社区 > 云原生 > Serverless > 正文

请复制traceId: 00163e0e365e1694576567800,加入钉钉群:339473

请复制traceId: 00163e0e365e1694576567800,加入钉钉群:33947367咨询。

完整的运行日志可以在:/root/. /logs/00163e0e365e1694576567800.log中找到,这个错误Id,怎么查问题呢?

报错:

✖ Project ApsaraLive failed to execute:

ERROR:

Command failed with exit code 127: export GOPROXY=https://goproxy.cn,direct && GO111MODULE=on GOOS=linux CGO_ENABLED=0 go build -ldflags '-w -s' -o target/main ./cmd

TraceId: 00163e0e365e1694576567800
Environment: @serverless-devs/s: 2.2.0, core: 0.1.64, s-home: /root/. s, linux-x64, node-v14.19.3
Documents: https://www.serverless-devs.com
Discussions: https://github.com/Serverless-Devs/Serverless-Devs/discussions
Issues: https://github.com/Serverless-Devs/Serverless-Devs/issues
Regsitry: https://registry.serverless-devs.com

Please copy traceId: 00163e0e365e1694576567800 and join Dingding group: 33947367 for consultation.
A complete log of this run can be found in: /root/.s/logs/00163e0e365e1694576567800.log

You can run 's clean --all' to clean Serverless devs.
[2023-09-13 11:42:47] [DEBUG] [S-CLI] - process exitCode: 101

展开
收起
互问互答 2023-09-13 17:21:27 60 0
1 条回答
写回答
取消 提交回答
  • 这里写了

    export GOPROXY=https://goproxy.cn,direct && GO111MODULE=on GOOS=linux CGO_ENABLED=0 go build -ldflags '-w -s' -o target/main ./cmd

    这段执行不了哈。

    回答4.png

    这个应该在linux/mac终端的命令。如果是window需要看下本地解决哈。

    此答案来自钉钉群“Serverless 开发者技术学习群”

    2023-09-13 17:31:28
    赞同 展开评论 打赏
问答分类:
问答地址:

快速交付实现商业价值。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载