模块的元数据版本不匹配错误 /Users/hardik.shah/git/admin/node_modules/@netbasal/content-loader/content-loader.d.ts, 找到版本4,预期为3,解析符号为SharedModule /Users/hardik.shah/git/admin/src/app/shared/shared.module.ts, 解决符号SharedModule /Users/hardik.shah/git/admin/src/app/shared/shared.module.ts
我正在使用的版本:
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.3.4",
"@netbasal/content-loader": "^1.1.0"
目前我有@angular/compiler@4.3.0
,我曾尝试将@netbasal/content-loader@1.0.0
降级,但仍然面临着同样的问题。
答案 0 :(得分:0)
[2018-09-04 11:22:08,869] ERROR - NativeWorkerPool Uncaught exception
java.lang.NoSuchMethodError: org.jsmpp.bean.GeneralDataCoding.<init>(Lorg/jsmpp/bean/Alphabet;Lorg/jsmpp/bean/MessageClass;Z)V
at org.wso2.carbon.esb.connector.SendSMS.connect(SendSMS.java:97)
at org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
at org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:84)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59)
at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:104)
at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:148)
at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:84)
。因此,没有选择使其与Angular 4兼容。到目前为止,该库仅支持Angular 5和Angular 6。
所以,现在有两种可能性:
@netbasal/content-loader
库。由于无法升级到Angular 5,我已从当前项目中删除了该库。