1***@qq.com
1***@qq.com
  • 发布:2022-01-26 17:37
  • 更新:2022-01-26 17:47
  • 阅读:2185

【报Bug】HbuilderX开发的小程序项目, 打不开微信开发者工具

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows 10 教育版

HBuilderX版本号: 3.2.16

操作步骤:

run -> Miniprogram -> run wechat devtools
wechat developer tool path: C:/Program Files (x86)/Tencent/微信web开发者工具
微信web开发者工具端口调试已开

预期结果:

在微信开发工具打开项目

实际结果:

微信开发者工具一直卡在创建项目的页面

bug描述:

17:29:09.988 Project 'ui-xiaochengxu' start compiling...  
17:29:11.157 Please note that in running mode, due to log output, sourcemap, and uncompressed source code, the performance and package size are not as good as release mode.To officially release, please click the release menu or use the cli release command to release  
17:29:11.161 There are differences in the implementation mechanism of the browser kernels and custom components of each mini-program, and there may be compatibility issues with styles and layouts, please refer to: https://uniapp.dcloud.io/matter?id=mp  
17:29:11.163 Compiling...  
17:29:26.370  DONE  Build complete. Watching for changes...  
17:29:26.413 Project 'ui-xiaochengxu' compiled successfully.Please see the log of front-end in miniprogram console.  
17:29:26.460 Starting WeApp devTools...  
17:29:27.927 [WeChat mini-app devoloper tools] - initialize  
17:29:27.927 [WeChat mini-app devoloper tools]  
17:29:27.930 [WeChat mini-app devoloper tools]  
17:29:29.175 [WeChat mini-app devoloper tools] × IDE may already started at port 54089, trying to connect  
17:29:29.176 [WeChat mini-app devoloper tools]  
17:29:29.179 [WeChat mini-app devoloper tools]  
17:29:32.454 [WeChat mini-app devoloper tools] √ IDE server started successfully, listening on http://127.0.0.1:40906  
17:29:32.458 [WeChat mini-app devoloper tools] - open IDE  
17:29:32.458 [WeChat mini-app devoloper tools]  
17:29:32.461 [WeChat mini-app devoloper tools]  
17:29:32.672 [WeChat mini-app devoloper tools] [error] Error: Fail to open IDE  
17:29:32.673 [WeChat mini-app devoloper tools]  
17:29:32.676 [WeChat mini-app devoloper tools] × open IDE  
17:29:32.676 [WeChat mini-app devoloper tools]  
17:29:32.679 [WeChat mini-app devoloper tools]  
17:29:32.682 WeApp devTools start success, edit code in HBuilderX and save, can auto refresh WeApp devTools.  
17:29:32.683 Notes:  
17:29:32.686 1. You can switch the page configured by the condition in pages.json through the WeChat developer tool, or close the WeChat developer tool, and then start the specified page from HBuilderX.  
17:29:32.687 2. If there is a problem of a white screen after the WeChat developer tool is started, check whether multiple WeChat developer tools are started, if so, close all open WeChat developer tools, and then run again.  
17:29:32.692 3. In the running mode, the code is not compressed and contains the sourcemap, which is large; if you want to officially release, please click the release menu to release.
2022-01-26 17:37 负责人:无 分享
已邀请:
DCloud_HB_WDL

DCloud_HB_WDL

  1. uni-app,manifest.json, 微信小程序配置,请填写正确的微信appid
  2. uni-app,编译后的微信小程序代码,在unpackage目录下,复制路径,在微信开发者工具打开。
  • 1***@qq.com

    能打开微信开发者工具也能进到项目 还是报这个错

    2023-09-01 10:15

该问题目前已经被锁定, 无法添加新回复