且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

角度构建错误:类型错误:无法读取未定义的属性“行"

更新时间:2022-01-27 06:03:31

好的!已确认这发生在最新版本的 angular cli 中.

Alright! It's confirmed that this is happening in latest version of angular cli.

我终于通过将版本降低到 1.6.7 并删除 ^ 来解决我的问题即使在降低版本后我也面临这个问题:

I finally fixed my issue by lowering version to 1.6.7 and by removing ^ I was facing this issue even after lowering version:

"@angular/cli": "^1.6.7"

"@angular/cli": "^1.6.7"

然后我删除了 ^ 以修复 cli 版本,现在它可以正常工作了.

Then I removed ^ to fix the cli version and now it works fine.

我请求 angular 团队修复这个 angular cli 问题,以便我们可以使用最新版本.

I request angular team that please fix this angular cli issue so that we can use latest versions.

我希望这会有所帮助.