任意uniapp项目真机运行、启动调试
![4***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/08243d2967240d29b7efaf7e8b44c85d.png)
- 发布:2022-04-15 14:47
- 更新:2022-04-15 22:20
- 阅读:522
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: windows11 21H2
HBuilderX版本号: 3.3.13
操作步骤:
预期结果:
调试服务正常启动
调试服务正常启动
实际结果:
2022-04-15 14:36:51.778 [WARNING:] weexdebugger readyReadStandardError::: "(node:24996) UnhandledPromiseRejectionWarning: Error: spawn UNKNOWN\n at ChildProcess.spawn (internal/child_process.js:408:11)\n at Object.spawn (child_process.js:553:9)\n at Launcher.launch (D:\HBuilderX\plugins\uniapp-debugger\node_modules\puppeteer-cn-2\node_modules\puppeteer\lib\Launcher.js:132:40)\n at async Object.exports.launchHeadless (D:\HBuilderX\plugins\uniapp-debugger\node_modules\@dcloudio\uni-debugger\src\server\headless.js:16:13)\n(node:24996) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)\n(node:24996) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\n"
2022-04-15 14:36:57.519 [WARNING:] weexdebugger errorOccurred::: "进程已崩溃"
2022-04-15 14:37:41.678 [INFO:] [Update] do check update...
2022-04-15 14:37:42.695 [INFO:] indexFileURL: "http://update.liuyingyong.cn/hbuilderx/alpha/win32/update/index.json?tmp=52662695"
2022-04-15 14:37:42.801 [INFO:] [Update] No update.
2022-04-15 14:37:42.855 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2022-04-15 14:39:54.457 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
2022-04-15 14:36:51.778 [WARNING:] weexdebugger readyReadStandardError::: "(node:24996) UnhandledPromiseRejectionWarning: Error: spawn UNKNOWN\n at ChildProcess.spawn (internal/child_process.js:408:11)\n at Object.spawn (child_process.js:553:9)\n at Launcher.launch (D:\HBuilderX\plugins\uniapp-debugger\node_modules\puppeteer-cn-2\node_modules\puppeteer\lib\Launcher.js:132:40)\n at async Object.exports.launchHeadless (D:\HBuilderX\plugins\uniapp-debugger\node_modules\@dcloudio\uni-debugger\src\server\headless.js:16:13)\n(node:24996) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)\n(node:24996) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\n"
2022-04-15 14:36:57.519 [WARNING:] weexdebugger errorOccurred::: "进程已崩溃"
2022-04-15 14:37:41.678 [INFO:] [Update] do check update...
2022-04-15 14:37:42.695 [INFO:] indexFileURL: "http://update.liuyingyong.cn/hbuilderx/alpha/win32/update/index.json?tmp=52662695"
2022-04-15 14:37:42.801 [INFO:] [Update] No update.
2022-04-15 14:37:42.855 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2022-04-15 14:39:54.457 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
bug描述:
启动真机调试 白屏并抛出错误
2022-04-15 14:36:51.778 [WARNING:] weexdebugger readyReadStandardError::: "(node:24996) UnhandledPromiseRejectionWarning: Error: spawn UNKNOWN\n at ChildProcess.spawn (internal/child_process.js:408:11)\n at Object.spawn (child_process.js:553:9)\n at Launcher.launch (D:\HBuilderX\plugins\uniapp-debugger\node_modules\puppeteer-cn-2\node_modules\puppeteer\lib\Launcher.js:132:40)\n at async Object.exports.launchHeadless (D:\HBuilderX\plugins\uniapp-debugger\node_modules\@dcloudio\uni-debugger\src\server\headless.js:16:13)\n(node:24996) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)\n(node:24996) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\n"
2022-04-15 14:36:57.519 [WARNING:] weexdebugger errorOccurred::: "进程已崩溃"
2022-04-15 14:37:41.678 [INFO:] [Update] do check update...
2022-04-15 14:37:42.695 [INFO:] indexFileURL: "http://update.liuyingyong.cn/hbuilderx/alpha/win32/update/index.json?tmp=52662695"
2022-04-15 14:37:42.801 [INFO:] [Update] No update.
2022-04-15 14:37:42.855 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2022-04-15 14:39:54.457 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
![FullStack](http://img-cdn-tc.dcloud.net.cn/uploads/avatar/000/73/57/99_avatar_mid.jpg?v=1717238592)
FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866
你代码有问题
4***@qq.com (作者)
uniapp初始项目一样
2022-04-18 10:15