Skip to content
New issue

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

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

Already on GitHub? # to your account

SyntaxError: The requested module '/ckeditor5-41.0.0/build/ckeditor.js?t=1705635647853' does not provide an export named 'default' #443

Open
jdavidrsantos opened this issue Jan 19, 2024 · 1 comment
Labels
pending:feedback This issue is blocked by necessary feedback.

Comments

@jdavidrsantos
Copy link

ckeditor5-41.0.0-95p5bgn58sod

Hello everyone,

I've been following the steps outlined (https://ckeditor.com/docs/ckeditor5/latest/installation/integrations/vuejs-v3.html#integrating-a-build-from-the-online-builder) to integrate CKEditor 5 into my Vue.js 3 project using Vite. Unfortunately, I've encountered persistent issues, even after trying several solutions.

Initially, I selected some premium features and encountered an error. Suspecting the premium features might be the cause, I switched to free plugins, but the problem persisted.

I've diligently followed the suggestions mentioned in (ckeditor/ckeditor5#2178) without success. I've spent the last two days attempting various approaches, but I can't pinpoint what's causing the problem.

Has anyone else faced a similar issue? Your insights would be greatly appreciated. Thank you.

@Witoso
Copy link
Member

Witoso commented Jan 19, 2024

Hi! The build file may have a Watchdog plugin, if yes, then you need to use named import like:

import { EditorWatchdog, Editor } from 'ckeditor-custom-build';

Could you share the contents of src/ckeditor.ts from the build?

@Witoso Witoso added the pending:feedback This issue is blocked by necessary feedback. label Jan 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
pending:feedback This issue is blocked by necessary feedback.
Projects
None yet
Development

No branches or pull requests

2 participants