yshkk / shanbay-mina

基于wepy框架的“扇贝阅读”微信小程序
176 stars 57 forks source link

你好,可以加微信吗? newlite有问题希望请教 我的微信号 ; #1

Open xlmitang opened 6 years ago

yshkk commented 6 years ago

有问题的话直接在issue里提吧:)

xlmitang commented 6 years ago

你好,yshkk,

我在添加dist到微信开发器中后,提示这样的错误,可否给一些提示?多谢

VM132:1 TypeError: Cannot set property 'Promise' of undefined at index.js? [sm]:4 at require (WAService.js:16) at WAService.js:16 at app.js? [sm]:3 at require (WAService.js:16) at appservice:1027 window.onerror @ VM132:1 WAService.js:16 Uncaught TypeError: Cannot set property 'Promise' of undefined at index.js? [sm]:4 at require (WAService.js:16) at WAService.js:16 at app.js? [sm]:3 at require (WAService.js:16) at appservice:1027 (anonymous) @ index.js? [sm]:4 require @ WAService.js:16 (anonymous) @ WAService.js:16 (anonymous) @ app.js? [sm]:3 require @ WAService.js:16 (anonymous) @ appservice:1027 VM132:1 TypeError: Cannot read property '$pages' of undefined at Object.$createPage (base.js? [sm]:137) at index.js:147 at require (WAService.js:16) at appservice:1031 window.onerror @ VM132:1 base.js? [sm]:137 Uncaught TypeError: Cannot read property '$pages' of undefined at Object.$createPage (base.js? [sm]:137) at index.js:147 at require (WAService.js:16) at appservice:1031 $createPage @ base.js? [sm]:137 (anonymous) @ index.js:147 require @ WAService.js:16 (anonymous) @ appservice:1031 appservice:1034 Fri Feb 02 2018 16:42:31 GMT+0800 (中国标准时间) page 编译错误 appservice:1035 pages/index.js 出现脚本错误或者未正确调用 Page() (anonymous) @ appservice:1035 VM132:1 TypeError: Cannot read property '$pages' of undefined at Object.$createPage (base.js? [sm]:137) at article.js:210 at require (WAService.js:16) at appservice:1042 window.onerror @ VM132:1 base.js? [sm]:137 Uncaught TypeError: Cannot read property '$pages' of undefined at Object.$createPage (base.js? [sm]:137) at article.js:210 at require (WAService.js:16) at appservice:1042 $createPage @ base.js? [sm]:137 (anonymous) @ article.js:210 require @ WAService.js:16 (anonymous) @ appservice:1042 appservice:1045 Fri Feb 02 2018 16:42:31 GMT+0800 (中国标准时间) page 编译错误 appservice:1046 pages/article.js 出现脚本错误或者未正确调用 Page() (anonymous) @ appservice:1046 WAService.js:15 Fri Feb 02 2018 16:43:15 GMT+0800 (中国标准时间) Page route 错误 WAService.js:15 Page[pages/index] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task. t.warn @ WAService.js:15 B @ WAService.js:15 H @ WAService.js:15 q @ WAService.js:15 (anonymous) @ WAService.js:15 (anonymous) @ WAService.js:15 (anonymous) @ WAService.js:6 (anonymous) @ WAService.js:6 (anonymous) @ WAService.js:4 a @ appservice:1004 d.registerCallback @ appservice:1004 k.forEach @ appservice:1004 d @ appservice:1004 h.onmessage @ appservice:1004

yshkk commented 6 years ago

https://github.com/Tencent/wepy/issues/273