h5端运行正常,一用基座连接手机端就会报这个错误reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught ReferenceError: Element is not defined,求大神指点!!!!

- 发布:2020-11-17 20:57
- 更新:2022-05-17 10:47
- 阅读:9382

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'createElement' of undefined
我也遇到同样问题 运行到浏览器是正常的 真机上就白屏

itmonkey - 程序汪
顶一下,这个问题没有人解决么
-
-
-
-
回复 DCloud_UNI_GSQ: reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected identifier 这是什么问题
2021-03-12 14:18
-
回复 DCloud_UNI_GSQ: reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'querySelector' of undefined
2021-03-15 14:51

我也遇到这样的问题,有没有解决了----reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'documentMode' of undefined

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught ReferenceError: sss is not defined

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'body' of undefined

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'location' of undefined (咋解决呢这个)

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'props' of undefined

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
1***@qq.com
网上大部分说是props中使用了this造成的,或者引入了第三方不兼容引起的,但我看了官网,它说app端不支持。 -------------PS官网: “使用了非H5端不支持的API 小程序和App的js运行在jscore下而不是浏览器里,没有浏览器专用的js对象,比如document、xmlhttp、cookie、window、location、navigator、localstorage、websql、indexdb、webgl等对象。”
2021-06-07 10:51
2***@qq.com
怎么解决的
2022-03-23 09:58