Skip to content

[🐞] v2: Vite 8 and <Form> component throws error in production build #8506

@leibale

Description

@leibale

Which component is affected?

Qwik Runtime

Describe the bug

Using a <Form> element with v2 and vite 8.0.3 throws "QRLs can not be dynamically resolved, because it does not have a chunk path _run Error: Code(Q14): QRLs can not be dynamically resolved, because it does not have a chunk path" error at runtime and crash the process

Reproduction

https://stackblitz.com/edit/github-hkkawys3-qkpjcum2?file=src%2Froutes%2Findex.tsx

Steps to reproduce

it should run it by default but:

  1. npm install
  2. npm run build
  3. node ./server/entry.node-server.js

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 20.19.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    typescript: 6.0.2 => 6.0.2 
    vite: 8.0.3 => 8.0.3

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions