❯ deno task build
╭ Warning
│
│ The following packages are deprecated:
│ npm:astro-integration-kit@0.20.0 (Check the migration guide: https://astro-integration-kit.netlify.app/migration-guide/)
╰─
Task build astro build
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
15:49:19 [types] Generated 425ms
15:49:19 [build] output: "static"
15:49:19 [build] mode: "static"
15:49:19 [build] directory: /home/qz/qwik-astro/dist/
15:49:19 [build] Collecting build info...
15:49:19 [build] ✓ Completed in 450ms.
15:49:19 [build] Building static entrypoints...
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
could not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
vite v7.3.2 building client environment for production...
transforming (1) node_modules/.deno/@qwik.dev+core@2.0.0-beta.32/node_modules/@qwik.dev/core/dist/qwikloader.jscould not read /package.json to determine package name, ignoring. (Error: ENOENT: no such file or directory, open '/package.json')
✓ 10 modules transformed.
dist/assets/DAqJGcDa-bundle-graph.json 0.12 kB │ gzip: 0.11 kB
dist/q-manifest.json 5.22 kB │ gzip: 1.09 kB
dist/build/q-BZhLE-zh.js 0.12 kB │ gzip: 0.13 kB
dist/build/q-Da_LcBLB.js 0.14 kB │ gzip: 0.13 kB
dist/build/q-D13KNE5L.js 0.18 kB │ gzip: 0.16 kB
dist/build/q-wP5gUVA0.js 0.18 kB │ gzip: 0.16 kB
dist/build/q-BOUrot2i.js 4.75 kB │ gzip: 2.41 kB
dist/build/q-D4zlRG7M.js 4.93 kB │ gzip: 2.32 kB
dist/build/q-CMNqrrBz.js 96.34 kB │ gzip: 36.72 kB
✓ built in 2.68s
15:49:26 [vite] ✓ built in 3.85s
Qwik core bundle not found, is Qwik actually used in this project?
15:49:26 [vite] ✓ built in 16ms
15:49:26 [build] Rearranging server assets...
generating static routes
15:49:26 ├─ /index.html (+27ms)
15:49:26 ✓ Completed in 146ms.
15:49:26 [build] ✓ Completed in 7.32s.
15:49:26 [build] 1 page(s) built in 7.77s
15:49:26 [build] Complete!
Which component is affected?
Build process
Describe the bug
The build process fails to locate Qwik components when
package.jsonis replaced bydeno.jsonc.Reproduction
https://github.com/quadratz/qwik-astro-issue-268-
Steps to reproduce
package.jsonhas been replaced bydeno.jsonc)deno task buildcould not read /package.json ...and a warning that the Qwik core bundle wasn't found.System Info
Additional Information
Here is the full log: