Ckeditor5: [Installing Plugins] ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated.

Created on 3 Jul 2020  ·  3Comments  ·  Source: ckeditor/ckeditor5

📝 Provide detailed reproduction steps

Follow the steps at https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/installing-plugins.html#adding-a-plugin-to-a-build

✔️ Expected result

Editor builds with alignment plugin

❌ Actual result

Editor builds, but when you open sample/index.html in chrome, you get the following error:

Uncaught CKEditorError: ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated.

Isn't the point of running your own build to get rid of this error?! :/

bug

Most helpful comment

Hi, thanks for the report. I guess it might be caused by different versions of ckeditor plugins. The latest one is 20.0.0 and I see that repo from docs you linked still has 19.0.0. You can bump old ones using for example ncu or install alignment in version 19.0.0. Please let me know if this helps.

All 3 comments

Hi, thanks for the report. I guess it might be caused by different versions of ckeditor plugins. The latest one is 20.0.0 and I see that repo from docs you linked still has 19.0.0. You can bump old ones using for example ncu or install alignment in version 19.0.0. Please let me know if this helps.

Thanks man, appreciate the speedy response!

Working fine after downgrading the plugin to 19.0.0 😄

I'm glad it works now 😃 I'll close this ticket for now.

Was this page helpful?
0 / 5 - 0 ratings