【发布时间】:2020-06-16 22:39:46
【问题描述】:
我正在开发移动应用程序(在 Ionic4 中),但我无法在 chrome devtools 中对其进行检查和调试。当我转到 Chrome/inspect 时,列表中出现了正在运行的应用程序的设备,但是当我点击检查时,只打开空白页面,它看起来像这样:
device page blank inspect page
当我点击 Ctrl+Shift+I 空白页重新打开,我可以查看控制台时,出现一些错误:
Uncaught TypeError: Cannot read property 'appendChild' of null
at installExtraStyleRules (devtools_compatibility.js:1484)
at installBackwardsCompatibility (devtools_compatibility.js:1457)
at devtools_compatibility.js:1504
at devtools_compatibility.js:1506
Uncaught TypeError: Cannot redefine property: keyIdentifier
at Function.defineProperty (<anonymous>)
at installBackwardsCompatibility (devtools_compatibility.js:1381)
at devtools_compatibility.js:1504
at devtools_compatibility.js:1506
[Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
Uncaught TypeError: Object.observe is not a function
at WebInspector.Main._createSettings (inspector.js:10380)
at WebInspector.Main._gotPreferences (inspector.js:10372)
at DevToolsAPIImpl.embedderMessageAck (devtools_compatibility.js:43)
at <anonymous>:1:13
任何想法问题出在哪里?它只发生在这种类型的设备上,在其他设备上,效果很好。
【问题讨论】:
标签: android google-chrome ionic-framework google-chrome-devtools