无法读取未定义的 Angular 9 的属性“类型”

时间:2021-01-28 14:37:05

标签: .net angular typescript angular-material angular-upgrade

enter image description here

我正在做一些从 Angular 8 升级到 Angular 9 的研发,我的应用程序突然停止工作。主页也不显示。 我收到了许多未定义类型的警告和错误消息。然后我通过添加如下所示在我的 tsconfig.jston 文件中进行了 3 次更改。但是,应用程序主页显示空白。并在控制台中收到带有警告的 vendor.js 错误。有人请帮我解决这个问题,谢谢!

        else:
            ip_data = {}
            ip_data["prefix"]      = row[0]
            ip_data["designation"] = row[1]
            ip_data["status"]      = row[5]
            line_count += 1
            yield ip_data

1 个答案:

答案 0 :(得分:0)

谢谢大家,@Giannis 和@GetOffMyLawn.....Angular 9 IVY 有问题... 按照此 url 中提到的 tsconfig 设置,package.json 节省了一天。非常感谢!

https://levelup.gitconnected.com/upgrade-to-angular-9-within-10-minutes-671c6fd6174b

相关问题