通过命令行npm run dev:xxx可以正常编译,但是通过hbuildx运行无法编译

- 发布:2022-07-13 10:21
- 更新:2023-10-16 13:59
- 阅读:646


NoahLu (作者)
hbuildx运行日志
2022-07-13 11:38:49.444 [INFO:] [RunWeApp] appid: "****" mp_appid: "" name: "**"
2022-07-13 11:38:49.776 [INFO:] node "/Users/luyang/.nvm/versions/node/v8.16.2/lib/node"
2022-07-13 11:38:49.776 [INFO:] args ("--max-old-space-size=2048", "/Users/luyang/Desktop/**/*****/node_modules/@vue/cli-service/bin/vue-cli-service.js", "uni-serve")
2022-07-13 11:38:49.789 [WARNING:] uniapp compiled errorOccurred====== "execve: No such file or directory"

BoredApe - 有问题就会有答案。
HBuilderX什么版本的?使用其他项目可以打包吗?