首页 > 解决方案 > 从角度 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

标签: angularelectron

解决方案


推荐阅读