Skip to content

使用Weixin Cloudbase Docker Extension 这个vscode 插件调试的是用,直接Start能够正常使用,但是使用Live Coding的时候,就会报错 #3

@visnix

Description

@visnix

使用的环境是
M1 pro 芯片的MacOS 13.4版本, 使用的 Apple 芯片的 docker for Mac

使用Weixin Cloudbase Docker Extension 这个vscode 插件调试的时候,直接Start能够正常使用,但是使用Live Coding的时候,就会报错

[nodemon] failed to start process, "/wxcloudrun-wxcomponent/main" exec not found

image
image

  • Executing task: docker-compose up

[+] Building 0.0s (0/0)

[+] Running 1/0

✔ Container wxcloud_hl-wxcomponent Running 0.0s

Attaching to wxcloud_hl-wxcomponent

wxcloud_hl-wxcomponent | [nodemon] 2.0.15-weixin-cloudbase

wxcloud_hl-wxcomponent | [nodemon] to restart at any time, enter rs

wxcloud_hl-wxcomponent | [nodemon] watching path(s): */

wxcloud_hl-wxcomponent | [nodemon] watching extensions: java,js,mjs,json,ts,cs,py,go

wxcloud_hl-wxcomponent | [nodemon] starting /wxcloudrun-wxcomponent/main

wxcloud_hl-wxcomponent | sh: /wxcloudrun-wxcomponent/main: not found

wxcloud_hl-wxcomponent | [nodemon] failed to start process, "/wxcloudrun-wxcomponent/main" exec not found

wxcloud_hl-wxcomponent | [nodemon] Error

wxcloud_hl-wxcomponent | at Bus. (/snapshot/nodemon/lib/nodemon.js:158:25)

wxcloud_hl-wxcomponent | at Bus.emit (node:events:538:35)

wxcloud_hl-wxcomponent | at ChildProcess. (/snapshot/nodemon/lib/monitor/run.js:190:11)

wxcloud_hl-wxcomponent | at ChildProcess.emit (node:events:526:28)

wxcloud_hl-wxcomponent | at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

wxcloud_hl-wxcomponent exited with code 0

  • Terminal will be reused by tasks, press any key to close it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions