Skip to content

Uncaught SyntaxError when integrating a build from the online builder when using npm add file:./ckeditor5 in Vue #263

Open
@mabryl

Description

@mabryl

📝 Provide detailed reproduction steps (if any)

  1. Try to integrate a build from the online builder in accordance with our docs
  2. In the step that describes adding the package located in the ckeditor5 directory as a dependency, use npm instead of yarn like so: npm add file:./ckeditor5
  3. Run the app

✔️ 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions