ITADN

[🐞] Qwik bundle detection may implicitly depend on `package.json`

#8616Opensiguici 创建于 2026-05-07
bugruntime
S
siguicicommented
### Which component is affected? Qwik Runtime ### Describe the bug Related issue: * https://github.com/QwikDev/astro/issues/287 In a Deno project using `deno.json(c)` without a root `package.json`, the build completes successfully and Qwik assets are generated correctly (`q-manifest.json`, `dist/build/q-*.js`, etc.). However, Qwik later reports: ```txt Qwik core bundle not found, is Qwik actually used in this project? ``` The logs also repeatedly show: ```txt could not read /package.json to determine package name ``` This suggests that part of the current bundle detection / resolution logic may still implicitly rely on a Node-style project layout with a root `package.json`. ### Reproduction https://github.com/quadratz/qwik-astro-issue-268- ### Steps to reproduce 1. Make sure you have [Deno installed](https://docs.deno.com/runtime/getting_started/installation/) 2. Clone [this repository](https://github.com/quadratz/qwik-astro-issue-268-). (Notice that `package.json` has been replaced by `deno.jsonc`) 3. Run `deno task build` 4. Check the logs. ### System Info ```shell Dependencies: @qwik.dev/astro 1.0.1 @qwik.dev/core 2.0.0-beta.32 astro 6.1.9 Binaries: Deno: 2.7.13 - /usr/bin/deno ``` ### Additional Information _No response_
1 条评论