现在最新版本 1.02.1812180也有这样的问题
2017.12.14版开发工具的Bug2017.12.14版开发工具预览或者上传代码后测试出现“1.Forgot to add page route in app.json. 2. Invoking Page() in async task.” 2017.12.07版工具则不会。 同样的一份代码,在以上两个版本亲测发现。
2018-12-19同样的情况
在测试分包的功能,打开分包下的页面,但提示一下错误Page[managepages/newShop/selectIndustry/index] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task
2018-12-19我也是 我就这周出先的 贼难受 ,代码都没动过
1.Forgot to add page route in app.json问题:在开发工具上页面能正常显示,到真机预览或者体验版时,就会报1.Forgot to add page route in app.json 2.Invoking Page() in async task ,上周所有的页面都是正常显示,无论开发工具工具或者真机,这周就会报这个错,没有改动过代码
2018-12-19兄嘚 你和我的情况几乎一模一样 你是怎么发现import 出错了 我这边基本上都挂了 除了主包里的 import 正常 ,分包里的页面 都无法正常运行
真机预览与体验Page[pages/login/login] not found- 当前 Bug 的表现(可附上截图) 试过许多次,在真机上均无法打开,在开发工具上正常 详细报错 Page[pages/login/login] not found. May be caused by 1. Forgot to add page route in app.json. 2. Invoking Page() in async task. 代码中有用到Promise,但删除login.js的代码依然无效 没有用到外部框架 上传代码时样式自动补全 代码上传时自动压缩 均取消过依然无效 - 复现路径 当前为上线 - 提供一个最简复现 Demo
2018-12-19我也是更新了开发者工具1.02.1812180 版本后 莫名出现的bug,代码是 真机模拟 上运行没有问题,就是点击预览在手机上看就会出现这样的问题 ,我把在线上运行没问题的代码拉下预览一遍 还是会有这样的问题
开发工具报错Please do not register multiple Pa- 当前 Bug 的表现(可附上截图) Please do not register multiple Pages in pages/jxtz/jxtz.js console.error @ VM401:1 t.error @ WAService.js:18 t.pageHolder @ WAService.js:17 (anonymous) @ jxtz.js? [sm]:21 require @ WAService.js:18 (anonymous) @ VM485:43 scriptLoaded @ appservice?t=1535783084650:3908 VM401:1 thirdScriptError sdk uncaught third Error APP-SERVICE-Engine:Please do not register multiple Pages in pages/jxtz/jxtz.js Error: APP-SERVICE-Engine:Please do not register multiple Pages in pages/jxtz/jxtz.js at new t (http://127.0.0.1:16149/appservice/__dev__/WAService.js:18:889) at t.pageHolder (http://127.0.0.1:16149/appservice/__dev__/WAService.js:17:18737) at http://127.0.0.1:16149/appservice/pages/jxtz/jxtz.js:23:1 at require (http://127.0.0.1:16149/appservice/__dev__/WAService.js:18:27248) at <anonymous>:43:7 at HTMLScriptElement.scriptLoaded (http://127.0.0.1:16149/appservice/appservice?t=1535783084650:3908:23) 页面不可操作:报错如下 VM401:1 Page[pages/wellcome/wellcome] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task. console.warn @ VM401:1 t.warn @ WAService.js:18 D @ WAService.js:17 q @ WAService.js:17 K @ WAService.js:17 (anonymous) @ WAService.js:17 (anonymous) @ WAService.js:18 (anonymous) @ WAService.js:5 (anonymous) @ WAService.js:5 (anonymous) @ WAService.js:4 a @ appservice?t=1535783084650:3396 d.registerCallback @ appservice?t=1535783084650:3396 n.forEach @ appservice?t=1535783084650:3396 d @ appservice?t=1535783084650:3396 k.onmessage @ appservice?t=1535783084650:3396 WAService.js:18 Sat Sep 01 2018 14:24:47 GMT+0800 (中国标准时间) 事件警告 VM401:1 Do not have login handler in current page: pages/wellcome/wellcome. Please make sure that login handler has been defined in pages/wellcome/wellcome, or pages/wellcome/wellcome has been added into app.json console.warn @ VM401:1 t.warn @ WAService.js:18 z @ WAService.js:17 (anonymous) @ WAService.js:17 (anonymous) @ WAService.js:18 (anonymous) @ WAService.js:6 e.(anonymous function) @ WAService.js:4 a @ appservice?t=1535783084650:3396 e.registerCallback @ appservice?t=1535783084650:3396 n.forEach @ appservice?t=1535783084650:3396 d @ appservice?t=1535783084650:3396 k.onmessage @ appservice?t=1535783084650:3396 [图片] 开发工具调试 [图片] - 预期表现 - 复现路径 - 提供一个最简复现 Demo
2018-12-19