ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

ckeditor-duplicated-modules on Angular integration following docs

Open tehkyle opened this issue 6 months ago • 1 comments

📝 Provide detailed reproduction steps (if any)

  1. … npm install "@ckeditor/ckeditor5-angular": "8.0.0" and "ckeditor5": "42.0.2"
  2. … Follow angular integration documentation from here
  3. … Troubleshoot using minimal imports, simply import { ClassicEditor } from "ckeditor5"; and public ckeditor = ClassicEditor;

✔️ Expected result

CKEditor loads and operates correctly

❌ Actual result

CKEditorError: ckeditor-duplicated-modules Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-ckeditor-duplicated-modules at 4248 (index.js:1107:12) at webpack_require (bootstrap:19:1) at 16289 (index.js:559:19) at webpack_require (bootstrap:19:1) at 84534 (index.js:5813:2) at webpack_require (bootstrap:19:1) at 54919 (ckeditor5.js:59:1) at webpack_require (bootstrap:19:1) at 5795 (index.js:5813:2) at webpack_require (bootstrap:19:1)

❓ Possible solution

Both packages are latest releases, and I'm able to repro without "@ckeditor/ckeditor5-angular" at all, simply importing anything from "ckeditor5"; I have also tried clearing npm cache and reinstalling hte packages.

📃 Other details

  • Browser: Chrome 126.0.6478.127
  • OS: Windows 10
  • First affected CKEditor version: 42.0.2
  • Installed CKEditor plugins: none

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

tehkyle avatar Aug 05 '24 16:08 tehkyle