-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Which component is affected?
Qwik Runtime
Describe the bug
When using import meta glob, along with conditional rendering and other normal JSX behavior it causes obscure bugs from Qwik that would work when not using import meta glob.
Reproduction
https://github.com/thejackshelton/v2-meta-glob-repro
Steps to reproduce
Reproduction steps:
- Run
pnpm install
- Run
pnpm dev
- Navigate to
http://localhost:5173/
- Click the "Subscribe" button
- See the error in the console, in either dev or preview mode
Expected behavior
The error should not be thrown.
Actual behavior
core.prod.mjs?v=163af181:510 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'apply')
System Info
System:
OS: macOS 15.5
CPU: (16) arm64 Apple M4 Max
Memory: 1.07 GB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
pnpm: 10.14.0 - ~/.nvm/versions/node/v22.14.0/bin/pnpm
bun: 1.1.7 - ~/.bun/bin/bun
Browsers:
Brave Browser: 135.1.77.95
Chrome: 138.0.7204.185
Safari: 18.5
npmPackages:
typescript: 5.4.5 => 5.4.5
undici: * => 7.13.0
vite: ^7 => 7.0.6
Additional Information
No response