侧边栏壁纸
  • 累计撰写 2,046 篇文章
  • 累计创建 73 个标签
  • 累计收到 20 条评论

目 录CONTENT

文章目录

HBuildX运行到微信开发者工具报错:IDE service port disabled.

大猿本猿
2022-12-20 / 733 阅读 / 301 字
" "

错误描述

17:18:38.123 [微信小程序开发者工具] [error] IDE service port disabled. To use CLI Call, please enter y to confirm enabling CLI capability, or manually open IDE -> Settings -> Security Settings, and set Service Port On.
17:18:38.126 [微信小程序开发者工具] For more details see: https://developers.weixin.qq.com/miniprogram/en/dev/devtools/cli.html
17:18:38.130 [微信小程序开发者工具] [error] 工具的服务端口已关闭。要使用命令行调用工具,请在下方输入 y 以确认开启,或手动打开工具 -> 设置 -> 安全设置,将服务端口开启。
17:18:38.130 [微信小程序开发者工具] 详细信息: https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html
17:18:38.134 [微信小程序开发者工具]
17:18:38.134 [微信小程序开发者工具] ? Enable IDE Service (y/N) 
17:18:38.140 [微信小程序开发者工具] - initialize
17:18:38.140 [微信小程序开发者工具]
17:18:38.144 [微信小程序开发者工具] × initialize

image

解决方法

打开微信开发者工具 – 设置 – 安全 – 开启服务端口,再到HBuilderX重新运行即可。

image