Reputation: 2287
I use angular-froala-wysiwyg
in my project.
My dependency configuration is:
{
...
"angular-froala-wysiwyg": "^2.7.2-1",
...
}
I have a dependenct, I am getting following error:
I started to receive following error. I wasn't getting this error before:
[ERROR] Error: Metadata version mismatch for module /Users/halil/Projects/abonelik-sihirbazi/src/abonelik-sihirbazi-2/business-services/node_modules/angular-froala-wysiwyg/editor/editor.directive.d.ts, found version 4, expected 3
[ERROR] at StaticSymbolResolver.getModuleMetadata (/Users/halil/Projects/abonelik-sihirbazi/src/abonelik-sihirbazi-2/business-services/node_modules/@angular/compiler/bundles/compiler.umd.js:25590:34)
[ERROR] at StaticSymbolResolver._createSymbolsOf (/Users/halil/Projects/abonelik-sihirbazi/src/abonelik-sihirbazi-2/business-services/node_modules/@angular/compiler/bundles/compiler.umd.js:25378:46)
[ERROR] at StaticSymbolResolver.getSymbolsOf (/Users/halil/Projects/abonelik-sihirbazi/src/abonelik-sihirbazi-2/business-services/node_modules/@angular/compiler/bundles/compiler.umd.js:25359:14)
Upvotes: 2
Views: 3171
Reputation: 39
Simply do the following steps :
Open node modules from your angular folder.
Open the module which is giving version issue.
Open JSON file from that module
From that JSON file change the version to matching version. This will work for sure.
Upvotes: 0
Reputation: 2287
This is due to Angular 5 release and latest version of angular-froala-wysiwyg
has just been upgraded to Angular 5:
https://github.com/froala/angular-froala-wysiwyg/commits/master/package.json
The issue can be removed by downgrading angular-froala-wysiwyg
to 2.7.2
:
{
...
"angular-froala-wysiwyg": "2.7.2",
...
}
Upvotes: 6