angular - Angular - 无法在 isAngularDecoratorMetadataExpression 读取未定义的属性“种类”
问题描述
我使用了 Angular 8.2.0 版。我想用这个命令构建:
ng build --aot=true --prod --build-optimizer --configuration=dev --outputHashing=all
但我得到了这个错误:
ERROR in ./node_modules/ng2-material-dropdown/fesm5/ng2-material-dropdown.js
TypeError: Cannot read property 'kind' of undefined at isAngularDecoratorMetadataExpression
我的项目中唯一的用法ng2-material-dropdown
与ngx-chips
. 我已经更新ngx-chips
了版本,但它不起作用。
ps 我用 "typescript": "~3.5.3"
有什么建议吗?
解决方案
我在 ngx-chips 上创建了一个问题,他们在最新版本的 ngx-chips 中解决了它
推荐阅读
- javascript - Length 属性在 Javascript 中的对象数组上返回少一个结果
- javascript - 如何将脚本函数添加到 React
- c# - 如何修复从表单的新实例发送数据到主表单上的数据网格
- arrays - 遍历数组并填充数组中的空相邻点
- c++ - 自定义地图类中的分段错误
- apache-nifi - NiFi在将记录插入表后创建索引
- mysql - Python 不会从 mysql 表中检索数据
- c - C - 创建一个保存到 ppm 文件中
- javascript - 如何在javascript箭头函数中返回嵌套函数的结果?
- reactjs - 为地图函数内的特定元素呈现对话框窗口