首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >角-无法读取isAngularDecoratorMetadataExpression中未定义的属性“种类”

角-无法读取isAngularDecoratorMetadataExpression中未定义的属性“种类”
EN

Stack Overflow用户
提问于 2019-11-04 12:07:06
回答 2查看 1.7K关注 0票数 1

我使用了角版本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版本,但它不起作用。

附注:我使用"typescript": "~3.5.3"

有什么建议吗?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2020-04-24 12:36:59

我在ngx芯片上制造了一个问题,他们用最新版本的ngx芯片解决了这个问题。

https://github.com/Gbuomprisco/ngx-chips/issues/912

票数 0
EN

Stack Overflow用户

发布于 2020-07-10 07:17:06

从答案https://github.com/Gbuomprisco/ngx-chips/issues/912#issuecomment-554780546

我的直觉是,它可能是由于一个包版本(角-devkit/构建角):

this is the version I use to build on v9: "@angular-devkit/build-angular": "^0.803.19"

this is the version I use to build on v8": "@angular-devkit/build-angular": "^0.803.8"

,您能试着使用与上面相同的版本吗?或者共享您正在使用的确切版本?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58693158

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档