Skip to content

Using deno install, Vite(Astro) could not resolve entry module for @qwikdev/astro #29624

@ryuapp

Description

@ryuapp

Version: Deno 2.3.5 (stable, release, x86_64-pc-windows-msvc)

The following repo is where you can reproduce this issue:
https://github.com/ryuapp/qwik-astro-deno-demo

If you use deno install, Vite cannot resolve the entry module for @qwikdev/astro.
The current workaround is to use another package manager such as npm or Bun.

PS qwik-astro-deno-demo> deno install
PS qwik-astro-deno-demo> deno task build
Task build astro build
01:34:53 [content] Syncing content
01:34:53 [content] Synced content
01:34:53 [types] Generated 70ms
01:34:53 [build] output: "server"
01:34:53 [build] mode: "server"
01:34:53 [build] directory: C:\Users\xxxxxx\qwik-astro-deno-demo\dist\
01:34:53 [build] adapter: @astrojs/deno
01:34:53 [build] Collecting build info...
01:34:53 [build] ✓ Completed in 82ms.
01:34:53 [build] Building server entrypoints...
01:34:53 [ERROR] [vite] ✗ Build failed in 258ms
Could not resolve entry module "C:/Users/xxxxxx/qwik-astro-deno-demo/node_modules/.deno/@qwikdev+astro@0.8.0/node_modules/@qwikdev/astro/server.ts".
  Stack trace:
    at getRollupError (file:///C:/Users/xxxxxx/qwik-astro-deno-demo/node_modules/.deno/rollup@4.41.1/node_modules/rollup/dist/es/shared/parseAst.js:400:41)
    at ModuleLoader.loadEntryModule (file:///C:/Users/xxxxxx/qwik-astro-deno-demo/node_modules/.deno/rollup@4.41.1/node_modules/rollup/dist/es/shared/node-entry.js:21410:20)
    at async Promise.all (index 0)

Related links
@qwikdev/astro: https://github.com/QwikDev/astro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions