sibiraj-s / ngx-editor

🖋️ Rich Text Editor for angular using ProseMirror
https://sibiraj-s.github.io/ngx-editor/
MIT License
424 stars 183 forks source link

Found version 4, expected 3 #56

Closed mjuri closed 6 years ago

mjuri commented 6 years ago

Hi, I'm getting this issue: ERROR in node_modules/ngx-editor/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.d.ts (3,31): Cannot find module 'ngx-bootstrap'. ERROR in Error: Metadata version mismatch for module /node_modules/ngx-editor/ngx-editor.d.ts, found version 4, expected 3

Maybe It's something easy to fix but i'm newbie using this tool. Any ideas?

sibiraj-s commented 6 years ago

@mjuri. What version (both angular and ngx-editor) are you using and have u installed ngx-bootstrap.

mjuri commented 6 years ago

Hi! I'm using angular 1.4.10 and latest version of ngx-editor

sibiraj-s commented 6 years ago

angular 1.4?

This Editor is for Angular 2.x, Works well with 4.x

sibiraj-s commented 6 years ago

@mjuri . Close the issue if you are using angular 1.x

mjuri commented 6 years ago

sorry, my apologies, I gave you my angular cli version before. I'm using 4.2.4

sibiraj-s commented 6 years ago

Try upgrading your angular version. The Editor works well with angular 5.2.0 which is a peerDeendency

sibiraj-s commented 6 years ago

@mjuri . Did that work

mjuri commented 6 years ago

Yes, it was that. Thank so so much for your help I really appreciate it

sibiraj-s commented 6 years ago

😄

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.