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

Failed to import - Quill #775

Open
MariusVatasoiu opened this issue Dec 10, 2023 · 0 comments
Open

Failed to import - Quill #775

MariusVatasoiu opened this issue Dec 10, 2023 · 0 comments
Labels
browser Not working in Browser

Comments

@MariusVatasoiu
Copy link

Failing module

import Quill from 'https://esm.sh/[email protected]';

console.log(new Quill(document.createElement('div')));

Error message

After onload I got this:

Uncaught TypeError: _quillDelta.default is not a constructor
    at Editor.getDelta (editor.ts:165:8)
    at new Editor (editor.ts:25:23)
    at new _Quill (quill.ts:177:19)

Additional info

  • esm.sh version: v135
  • Browser version: Chrome 119.0.6045.199

The error seems to be with an import of a subdependency, https://www.npmjs.com/package/quill-delta.

@MariusVatasoiu MariusVatasoiu added the browser Not working in Browser label Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Not working in Browser
Projects
None yet
Development

No branches or pull requests

1 participant