Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKEditorError: ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated. Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-ckeditor-duplicated-modules #8310

Closed
monika1111 opened this issue Oct 21, 2020 · 4 comments
Labels
type:bug This issue reports a buggy (incorrect) behavior.

Comments

@monika1111
Copy link

HI, I want to use ckEditor, after importing Table I get this issue https://prnt.sc/v3r7da..
I went trough this https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-ckeditor-duplicated-modules
step by step witch could be the reasons of this error, but as I see there is no reason to be this error, Can you please take a look?

This is my Repository https://github.com/monika1111/ckEditor. Thanks

@monika1111 monika1111 added the type:bug This issue reports a buggy (incorrect) behavior. label Oct 21, 2020
@mlewand
Copy link
Contributor

mlewand commented Oct 21, 2020

@monika1111 can you double check if:

  1. removing yarn.lock and package-lock.json 
  2. rm -rf node_modules && npm install

solve the issue?

@monika1111
Copy link
Author

Thank you for your quick response.
I have done as you said, but now I got another issue https://prnt.sc/v3st3g, That seems to be because of style-loader version.
When I wanted to change it npm install style-loader@1.0.0 got an error about ckeditor-duplicated-modules.

@Mgsy
Copy link
Member

Mgsy commented Oct 26, 2020

Hi @monika1111, as I can see you use Craco in your project. Currently, building the editor from the source can be done after ejecting the project and modifying the Webpack config. Unfortunately, we didn't test it with Craco, so it might behave unpredictably. However, there's some community solution for Craco project, which might be helpful in your case, see it here.

We're aware that requiring ejecting a project might not be the best experience and this problem will be covered in this issue.

@Mgsy Mgsy added the pending:feedback This issue is blocked by necessary feedback. label Oct 26, 2020
@monika1111
Copy link
Author

monika1111 commented Oct 27, 2020 via email

@Mgsy Mgsy closed this as completed Oct 27, 2020
@Mgsy Mgsy removed the pending:feedback This issue is blocked by necessary feedback. label Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

3 participants