Skip to content
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

V2.0.3: 'Delta.js' does not provide an export named 'default' #4561

Closed
dabukster opened this issue Jan 11, 2025 · 2 comments
Closed

V2.0.3: 'Delta.js' does not provide an export named 'default' #4561

dabukster opened this issue Jan 11, 2025 · 2 comments

Comments

@dabukster
Copy link

I've tried Quill v2.0.3 with a bare minimal example, but on loading the page I only receive the error:

block.js:2 Uncaught SyntaxError: The requested module './../../quill-delta/dist/Delta.js' does not provide an export named 'default' (at block.js:2:8)

Steps for Reproduction

  1. Unzip attachment
  2. npm install && npx wds --node-resolve open /
  3. Check developer tools console messages

Expected behavior:

Page loads properly without errors

Actual behavior:

block.js:2 Uncaught SyntaxError: The requested module './../../quill-delta/dist/Delta.js' does not provide an export named 'default' (at block.js:2:8)

Platforms:

MacOS 15, Chrome 131.0.6778.206 (but fails on other browsers as well)

Version:

2.0.3

quill_export_error_mre.zip

@NocKby
Copy link

NocKby commented Jan 13, 2025

I've the same issue

@dabukster
Copy link
Author

dabukster commented Jan 14, 2025

Ok, I think the issue was due to the usage of webdev server. You have to play around with the commonsjs plugin, but I couldn‘t solve the problem directly. Hence, I switched to vitejs which doesn‘t have any issues with imports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants