-
Notifications
You must be signed in to change notification settings - Fork 77
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
Uncaught SyntaxError when integrating a build from the online builder when using npm add file:./ckeditor5
in Vue
#263
Comments
@mabryl could you specify your npm and node version? |
Node v18.17.1 Should I update and try again @Witoso? |
I don't think it would help. What's your bundler in the app? If it's vite, there may be some additional configuration needed. I think this is a bundler issue, and this worked in Angular/React docs, but doesn't in Vue due to different bundlers. There's a resolved issue for this on SO. |
Yup, the bundler is the default one when using I'll see if the issue persists when using webpack, for example. |
@DedicatedManagers could you also check the comment that was shared in our community with a config? |
📝 Provide detailed reproduction steps (if any)
ckeditor5
directory as a dependency, use npm instead of yarn like so:npm add file:./ckeditor5
✔️ Expected result
You should be able to see the editor running in Vue.
❌ Actual result
You get a blank page and an error in the console that reads:
Uncaught SyntaxError: The requested module '/ckeditor5/build/ckeditor.js' does not provide an export named 'default' (at App.vue:8:10)
🤔 Additional details
As stated in the reproduction steps, this only happens when using npm. Using yarn via
yarn add file:./ckeditor5
does not produce this issue.Marking this as a regression because I'm fairly sure that
npm add file:./ckeditor5
worked in an older version of the editor.The text was updated successfully, but these errors were encountered: