Skip to content

[🐞] undici v7 uses node:sqlite built in module -> qwik apps not using node 22 can't start #7684

@maiieul

Description

@maiieul

Which component is affected?

Starters / CLI

Describe the bug

starters ship with undici: "*". This breaks qwik apps when serving them with node server/entry.express.js and ssr.noExternal:true if not on node v22 because previous versions don't have the builtin sqlite module.

Reproduction

🙅‍♂️

Steps to reproduce

Serve with node server/entry.express.js and ssr.noExternal:true

System Info

🙅‍♂️

Additional Information

Workarounds are either:

  • upgrade node to 22
  • downgrade undici to 6.21.3
  • ssr.external: ["undici"]

We might want to set undici to 6.21.3 in the starters by default until 18 and 20 aren't supported anymore.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions