微信开发者工具
各位佬,使用websocket实现IM时,真机调试时各个功能正常使用,但是一上线体验版就一直显示连接失败,如果需要提供其他的信息,请告诉,感谢各位大佬们的帮助了。
微信小程序内嵌H5方式,在测试环境时能拉起JSPAI支付,但是发布后,正式环境拉取不了
[图片]
[图片] [图片] 通过 getFileSystemManager 缓存文件并引用时,在清除缓存后会报错,找不到缓存文件
在公司安装微信开发者工具开发小程序,是否会有软件侵权风险?
[图片]为啥微信开发者工具导入程序,总是弹出这个界面,以前是可以直接显示程序页面的啊,开发者工具已经是登录状态
uniapp项目启动就报错,稳定版1.06.2503300正常, 2025年7月11日更新至稳定版1.06.2504010启动报错, 清除缓存,重新编译,项目重新打包都不行, 点击版本回退以后正常 [图片][图片][图片]
Error [ERR_REQUIRE_ESM]: require() of ES Module D:\www\dispatcher-bc-uniapp\node_modules\chalk\source\index.js from C:\Users\PC\AppData\Local\微信开发者工具\User Data\6388eb57d82f957c97c946127897b127\WeappCode\package.nw\js\common\miniprogram-builder\utils\log.js not supported. Instead change the require of index.js in C:\Users\PC\AppData\Local\微信开发者工具\User Data\6388eb57d82f957c97c946127897b127\WeappCode\package.nw\js\common\miniprogram-builder\utils\log.js to a dynamic import() which is available in all CommonJS modules. 版本,1.06。2504010
经常打开开发者工具时,程序跑不起来,卡那不动了,模拟器长时间没有响应,请确认你的业务逻辑中..这样的提示框
[图片] 代码中没有这两个域名。 但是一直在提示这个。 以前没有。
[图片] 调试器XML是空白的
message:真机调试 Error: Error: Unexpected '/'. Escaping special characters with \ may help. appid: wx610f9ca98d51def7 openid: o6zAJs0OVRhjAJQ9nVUntvbQlBFw ideVersion: 1.06.2504010 osType: darwin-arm64 time: 2025-07-10 15:29:07 [图片] Mac 15.5 微信开发者 最新稳定版,此错误信息提示无定位错误文件信息,构建窗口// utils/routeConfig.js /** * 页面路由配置 * 定义哪些页面需要登录才能访问 */ const ROUTE_TYPES = { PUBLIC: 0, // 公开页面,无需登录 AUTH: 1, // 需要登录 }; // 需要登录的页面列表 const authRequiredPages = [ // 个人信息相关页面 "pages/personal/personDetail/index", "pages/personal/mySeals/index", "pages/personal/wallet/index", "pages/personal/vip/index", "pages/personal/favorite/index", "pages/personal/userManual/index", "pages/personal/aboutUs/index", // 首页相关功能页面 "pages/home/homePages/createCompany/index", "pages/home/homePages/joinCompany/index", "pages/home/homePages/todoList/index", "pages/home/homePages/newsList/index", "pages/home/homePages/newsDetail/index", "pages/home/homePages/contractTemplates/index", "pages/home/homePages/contractTemplates/contractForm/index", "pages/home/homePages/contractTemplates/contractPre/index", "pages/home/homePages/contractTemplates/templateDetail/index", "pages/home/homePages/contractTemplates/contractCreate1/index", // 其他功能页面 "pages/notImplementaion/index" ]; // 三个TabBar页面(可公开访问) const publicPages = [ "/pages/home/index", "/pages/example/index", "/pages/user/index" ]; // 特殊页面(登录页) const guestPages = [ "pages/personal/login/index" ]; // 路由配置 const routeConfig = {}; // 设置公开页面 publicPages.forEach(page => { routeConfig[page] = { requireAuth: ROUTE_TYPES.PUBLIC }; }); // 设置需要登录的页面 authRequiredPages.forEach(page => { routeConfig[page] = { requireAuth: ROUTE_TYPES.AUTH }; }); // 设置特殊页面(登录页) guestPages.forEach(page => { routeConfig[page] = { requireAuth: ROUTE_TYPES.PUBLIC, isGuest: true }; }); module.exports = { routeConfig, ROUTE_TYPES, authRequiredPages, publicPages };
导入项目时提示 invalid_token , invalid credential, access_token is invalid or not latest; appid检查无误,项目没法导入 工具版本 Nightly 1.06.2507022 [图片]
[图片]
https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html[图片]
回退后正常 [图片] [] Error: file: common/assets.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: common/assets.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\yangy\AppData\Local\微信开发者工具\User Data\97c2c3ed9e9b4a343745d4ac3603eef1\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\yangy\AppData\Local\微信开发者工具\User Data\97c2c3ed9e9b4a343745d4ac3603eef1\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\yangy\AppData\Local\微信开发者工具\User Data\97c2c3ed9e9b4a343745d4ac3603eef1\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: 3.8.10)
版本:1.06.2504010 系统:Win11 本地设置:✔ 将JS编译成ES5,疯狂报错几十条: --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away.
[图片] 微信开发者工具调试的时候wxml显示空白是怎么回事
如何建立
//pages.json { "path": "pages/index/index", "style": { "navigationBarTitleText": "首页", "componentPlaceholder":{ "byl-float-report":"view" } } } "subPackages": [ { "root": "packageA", "common":true, ...}]
小程序助手
帮助小程序相关成员在手机端更方便、及时地管理小程序
小程序助手
扫码体验