angular - 从角度 7 迁移到角度 12 后,电子应用程序未加载
问题描述
我正在使用节点 16.13.0 和角度 12.2.13 电子应用程序用于在版本节点 7、角度 7 中工作。我在 main_es2017.js 文件中看到的错误。有人可以就可能导致以下错误的原因提供一些线索。
main-es2017.js:1 ERROR TypeError: Cannot read property 'info' of null
at Xh.<anonymous> (main-es2017.js:1)
at e.connect (main-es2017.js:1)
at e.start (main-es2017.js:1)
at new e (main-es2017.js:1)
at Object.e.ɵfac [as factory] (main-es2017.js:1)
at Eo.hydrate (main-es2017.js:1)
at Eo.get (main-es2017.js:1)
at En (main-es2017.js:1)
at Pn (main-es2017.js:1)
at Object.e.ɵfac [as factory] (main-es2017.js:1)
polyfills-es2017.js:1 Unhandled Promise rejection: Cannot read property 'debug' of null ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property 'debug' of null
at Xh.<anonymous> (main-es2017.js:1)
at main-es2017.js:1
at e.invoke (polyfills-es2017.js:1)
at t.run (polyfills-es2017.js:1)
at polyfills-es2017.js:1
at e.invokeTask (polyfills-es2017.js:1)
at t.runTask (polyfills-es2017.js:1)
at _ (polyfills-es2017.js:1) TypeError: Cannot read property 'debug' of null
解决方案
推荐阅读
- css - Checkbox hack - 通过位置隐藏复选框是否有缺点:绝对?
- java - 引起:org.springframework.beans.factory.NoUniqueBeanDefinitionException:没有可用的“javax.validation.Validator”类型的合格bean
- wagtail - 通过model_mommy创建Wagtail页面
- mysql - mysql GROUP BY 不匹配 DISTINCT
- vue.js - 如何使用函数中的 json 填充 vuejs 数据变量?
- php - PHP 仅在某些时候显示不推荐使用的函数的错误
- z3 - SAT 求解器和相位节省
- c# - 主机游戏角色
- java - 使用 h2 和 spring boot 进行测试
- javascript - document.getElementById 不能选择多个元素