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
- 更新:2023-08-19 10:37
- 阅读:27322

最佳回复

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

exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->
10:15:11.996 at useStore

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught ReferenceError: Blob is not defined这个请问有人遇到过吗,我都没有定义blob

希望能给个思路呀

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
-
回复 DCloud_UNI_GSQ: reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token 报这种
2023-04-07 10:46

我也遇到这样的问题,有没有解决了----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

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'childNodes' of undefined
安卓真机调试出现编译不了的,这个要怎么处理

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property '_dsf' of undefined
无从下手啊,着急

刚升的builderx 3.4.15.20220610 出现
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token ','
错误。
逐行删除代码发现是引用 import service from 'axios';报的错误,删除此行代码就不白屏了

liusheng22 - https://juejin.cn/user/3171444673228840
- 检查main.js中代码,有没有引入三方依赖与APP不兼容的,例如:vconsole、element-ui等
- 检查白屏页面,有没有引入APP不支持的window、dom取值/赋值操作

卧槽,也遇到了,v3用NVUE就会报错,改vue不报错
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: (0 , import_vuex.createStore) is not a function

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught ReferenceError: require is not defined
at push.exports.load (app-service.js:9559:9)
at (app-service.js:9488:9)
at webpack_require (app-service.js:80:30)
at eval (:1:234)
at eval (:76:30)
at (app-service.js:9477:1)
at webpack_require (app-service.js:80:30)
at eval (:44:14)
at eval (:229:30)
at (app-service.js:139248:1)

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token

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

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