报错截图或相关BUG
[TMA][ERROR][RUNTIME] thirdScriptError globPageRegistPath is not defined ReferenceError: globPageRegistPath is not defined at jo (tma-core.js:1:60929) at pages/index/index-service.js:6:1 at ne (tma-core.js:1:10329) at Z (tma-core.js:1:9465) at pages/index/index-service.js:13:2 at lo (tma-core.js:1:54984) at mo (tma-core.js:1:56863) at wo (tma-core.js:1:57395) at Function.<anonymous> (tma-core.js:1:289634) at tma-core.js:1:25952 +0ms console.(anonymous function) @ tma-core.js:1 tma-core.js:1 [TMA][WARN][RUNTIME] Page route 错误 +0ms Page[pages/index/index] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task.
复现步骤
- 随便新建一个小程序,直接真机预览就会出现这样的bug。