Reputation: 25
In the Angular project, I got this error msg ( ERROR in ../node_modules/ng2-ckeditor/ckbutton. directive.d.TS: 1:23 - error TS2688: Cannot find type definition file for 'ckeditor'.) what is the reason for this error msg ?
Upvotes: 2
Views: 2591
Reputation: 2810
I fixed this issue by removing ^
from dependency version. I replaced ^1.2.9
with 1.2.9
.
Note: I'm using Angular version 10.0.2
Upvotes: 1
Reputation: 3006
The reason for this is that you have not installed @types/ckeditor package in your project.
Installing this package should resolve this error. If it still persists, then let me know.
Upvotes: 3