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

error document is not defined using bundleStrategy's single value #13203

Open
frederikhors opened this issue Dec 19, 2024 · 0 comments
Open

error document is not defined using bundleStrategy's single value #13203

frederikhors opened this issue Dec 19, 2024 · 0 comments

Comments

@frederikhors
Copy link
Contributor

Describe the bug

Using the new bundleStrategy single option I get this error:

node:internal/event_target:1101
  process.nextTick(() => { throw err; });
                           ^
ReferenceError [Error]: document is not defined
    at file:///C:/project/node_modules/.pnpm/[email protected]/node_modules/quill/core/emitter.js:7:3
    at Array.forEach (<anonymous>)
    at file:///C:/project/node_modules/.pnpm/[email protected]/node_modules/quill/core/emitter.js:6:8
    at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)
    at async analyse (file:///C:/project/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_ojxcsn2yei7eqzdkbuybifgz5y/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js:42:19)
    at async MessagePort.<anonymous> (file:///C:/project/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_ojxcsn2yei7eqzdkbuybifgz5y/node_modules/@sveltejs/kit/src/utils/fork.js:23:16)

Node.js v22.12.0

using quill js editor in one of my component.

Reproduction

I'm working on it...

Logs

No response

System Info

npmPackages:
    @sveltejs/adapter-static: 3.0.6 => 3.0.6
    @sveltejs/kit: 2.13.0 => 2.13.0
    @sveltejs/vite-plugin-svelte: 5.0.3 => 5.0.3
    svelte: 5.14.5 => 5.14.5
    vite: 6.0.4 => 6.0.4

Severity

blocking all usage of SvelteKit

Additional Information

No response

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

No branches or pull requests

2 participants