page[pages/XXX/XXX] not found.May be caused by :1. Forgot to add page route in app.json.2. Invok
2018-01-22 17:49
453 查看
错误:page[pages/XXX/XXX] not found.May be caused by :1. Forgot to add page route in app.json.2. Invoking Page() in async task.
原因:①有的页面没有写Page({})
②app.json中的配置页面路径的先后顺序
③(我的问题)此问题在模拟器上没有问题,在手机上出现错误。原因是我的util.js中在module.exports={sc:sc}但在底下没有写sc对应的方法定义,好不容易才查出来,大意!
原因:①有的页面没有写Page({})
②app.json中的配置页面路径的先后顺序
③(我的问题)此问题在模拟器上没有问题,在手机上出现错误。原因是我的util.js中在module.exports={sc:sc}但在底下没有写sc对应的方法定义,好不容易才查出来,大意!
相关文章推荐
- does not contain handler parameter named 'method'. This may be caused by whit
- Dispatch时产生了这个异常:does not contain handler parameter named ‘method’ This may be caused by whitespace in the label text
- Caused by: java.lang.ClassNotFoundException: Cannot find class: com.github.pagehelper.PageIntercepto
- Caused by: java.lang.ClassNotFoundException: com.github.pagehelper
- Caused by: java.lang.IllegalArgumentException: Text may not be null
- eclipse下tomcat发布更新文件(Could not delete xxx.data May be locked by another process)
- Application "XXX" could not be found in the registry. The applications available are: .
- This iPhone 6 is running iOS 10.1 (14B55c), which may not be supported by this version of Xcode
- eclipse下提交job时报错mapred.JobClient: No job jar file set. User classes may not be found.
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
- MyEclipse中frame引起的“the file XXX can not be found.Please check the location and try agai问题
- 错误记录--Multiple constructor definitions found. Constructor may not be defined in
- WireShark抓包,may be caused by ip checksum offload的解决办法
- Caused by: java.lang.NoClassDefFoundError和 Caused by: java.lang.ClassNotFoundException: Didn't find
- Caused by: java.lang.ClassNotFoundException: org.I0Itec.zkclient.IZkStateListener
- java.io.FileNotFoundException class path resource [xxx.xml] cannot be opened
- The Activator X for bundle Y is invalid, caused by ClassNotFoundException: X
- WireShark抓包时TCP数据包出现may be caused by ip checksum offload
- The Struts dispatcher cannot be found. This is usually caused by using Strut
- WireShark抓包,may be caused by ip checksum offload的解决办法