请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

Page[pages/homepage/homepage] not found.

Page[pages/homepage/homepage] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task.
app.json已经注册了,位置也调整了,就是不行

点击授权之后出现:
VM495:1 Do not have onAuthorizeConfirm handler in current page: pages/homepage/homepage. Please make sure that onAuthorizeConfirm handler has been defined in pages/homepage/homepage, or pages/homepage/homepage has been added into app.json
百度了半天不知道怎么搞

正在回答 回答被采纳积分+3

2回答

咚咚呛 2019-04-21 23:12:42

如果app.json已经注册页面了的话,大概率是页面代码的问题。

0 回复 有任何疑惑可以回复我~
咚咚呛 2019-04-21 23:11:48

看看你这个页面的代码呢?和app.json的配置

0 回复 有任何疑惑可以回复我~
  • 提问者 醉舞红袖夜添香 #1
    VM4249:1 thirdScriptError 
     sdk uncaught third Error 
     module "pages/utils/cookie.js" is not defined 
     Error: module "pages/utils/cookie.js" is not defined
        at require (http://127.0.0.1:44674/appservice/__dev__/WAService.js:1:1015979)
        at http://127.0.0.1:44674/appservice/__dev__/WAService.js:1:1015729
        at http://127.0.0.1:44674/appservice/pages/expend/view/view.js:5:18
        at require (http://127.0.0.1:44674/appservice/__dev__/WAService.js:1:1016120)
        at <anonymous>:110:7
        at HTMLScriptElement.scriptLoaded (http://127.0.0.1:44674/appservice/appservice?t=1555900770730:1427:21)
        at HTMLScriptElement.script.onload (http://127.0.0.1:44674/appservice/appservice?t=1555900770730:1439:20)
    回复 有任何疑惑可以回复我~ 2019-04-22 10:43:59
  • 提问者 醉舞红袖夜添香 #2
    刚开始出现这个错误,就是module "pages/utils/cookie.js" is not defined
    回复 有任何疑惑可以回复我~ 2019-04-22 10:44:34
  • 提问者 醉舞红袖夜添香 #3
    然后下面接着就是找不到页面了
    回复 有任何疑惑可以回复我~ 2019-04-22 10:45:03
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信