-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Issue with CKEditorError: ckeditor-duplicated-modules after updating to CKEditor 42.0.0 #16624
Comments
Hi @w-beom 👋. This problem can be caused by old packages (in a different version) still being installed. Can you share the |
Hi @filipsobol Here is the package.json: {
"main": "./build/ckeditor.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"author": "",
"devDependencies": {
"ckeditor5": "^42.0.0",
"ckeditor5-premium-features": "^42.0.0",
"vite": "^5.3.1"
}
} |
Unfortunately this doesn't seem enough to find the cause of this issue. My guess would be some other other imports from Could you prepare a minimal reproduction that we can use to debug this, please? |
Hi! We're also trying to solve for this: We've downgraded back to 42.1.2, our dependencies are the same as the below, and we remove package-lock.json but some sub dependencies are upgrading themselves to 42 "@ckeditor/ckeditor5-alignment": "41.2.1", |
Oh, I'm sorry. The issue was caused by the import statement in the custom plugin I created. I referred to the custom plugin documentation and fixed it. The issue no longer occurs. Thank you, everyone. |
@w-beom Hi, I'm having the same problem and cannot find the documentation related to fixing it. Can you help me out? :) |
Hi @jjroelofs. Have you seen our updated documentation for the |
@filipsobol Yes I have. We are building the plugin on a I didn't study the docs in-depth to be honest, maybe I'll have another go at it next week. Our plugin has 83 imports in source, and I'm not the main developer, so it's a bit tiring to debug. Would be great if the error could tell us what plugins are duplicated. |
@filipsobol ok I managed by matching the major version after all. Now my next problem is: Drupal 10.3 is on CKEditor 41. My plugin is on 43 and loading it in a 41 environment triggers the duplicate plugin error. How do I produce a release for 41? My project was built on the CK43 Plugin Generator. |
I'm not sure if I can help more without some example. Could you create a new issue and provide a minimal reproduction? |
Hi @w-beom, I get this error when I use a custom plugin, how to solve this |
After updating CKEditor to version 42.0.0, I encounter the following error when bundling with UMD: Uncaught
CKEditorError: ckeditor-duplicated-modules
. There are no plugins being called twice.Below is the configuration file I used:
The text was updated successfully, but these errors were encountered: