Skip to content

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

@siguici

Description

@siguici

Which component is affected?

Qwik Runtime

Describe the bug

Related issue:

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:

Qwik core bundle not found, is Qwik actually used in this project?

The logs also repeatedly show:

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
  2. Clone this repository. (Notice that package.json has been replaced by deno.jsonc)
  3. Run deno task build
  4. Check the logs.

System Info

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingruntime

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions