ITADN

[🐞] `@qwikdev/astro` doesn't work with `deno install`

#260Closedryuapp 创建于 2025-06-09
R
ryuappcommented
### Which component is affected? Integration ### Describe the bug I want to use `@qwikdev/astro` using only Deno, but it doesn't work because `astro build` command doesn't run, `astro dev` doesn't load, etc using `deno install`. The current workaround is to use another package manager such as npm, pnpm, or Bun instead of Deno. I also reported this issue in https://github.com/denoland/deno/issues/29624 This bug seems to be specific to Deno, but I would be happy if it could be resolved on the integration side. ### Reproduction https://github.com/ryuapp/qwik-astro-deno-demo ### Steps to reproduce Run `deno install` and `deno task build`: ```sh 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) ``` ### System Info ```shell System: OS: Windows 11 10.0.26100 CPU: (12) x64 AMD Ryzen 5 8400F 6-Core Processor Memory: 19.25 GB / 31.65 GB Binaries: Node: 24.0.0 - ~\scoop\apps\nodejs\current\node.EXE npm: 11.3.0 - ~\scoop\apps\nodejs\current\npm.CMD Browsers: Edge: Chromium (133.0.3065.82) npmPackages: typescript: ^5.8.3 => 5.8.3 ``` ### Additional Information If Deno is not supported by this package, feel free to close this issue👌
关闭于 2026-03-19 8 条评论