QwikDev / astro

Qwik + Astro integration
218 stars 13 forks source link

SRC Dir not found - testing new version #172

Open Shane-Donlon opened 16 hours ago

Shane-Donlon commented 16 hours ago

Hey Jack - I am getting a src dir not found error from Qwik srcDir

npm run dev
> grateful-galaxy@0.0.1 dev
> astro dev
SRC DIR: {location of stuff on my computer}/src/
16:24:30 [types] Generated 5ms
Qwik srcDir " {location of stuff on my computer}/src" not found.
Stack trace:
    at Object.validateSource (file:///{location of stuff on my computer}/node_modules/@builder.io/qwik/dist/optimizer.mjs:2092:17)
    at async Promise.all (index 4)
    at async EnvironmentPluginContainer.buildStart (file:///{location of stuff on my computer}/node_modules/astro/node_modules/vite/dist/node/chunks/dep-A4nAWF7x.js:46903:5)
    at async httpServer.listen (file{location of stuff on my computer}/node_modules/astro/node_modules/vite/dist/node/chunks/dep-A4nAWF7x.js:43701:9)

System info taken - (PS if this command was taken from Qwik repo issue, if you have an updated command I don't mind running it before submitting issues)

System: OS: Windows 11 10.0.22631 CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz Memory: 611.89 MB / 7.74 GB Binaries: Node: 22.11.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD pnpm: 9.14.2 - ~\AppData\Roaming\npm\pnpm.CMD Browsers: Edge: Chromium (127.0.2651.74) Internet Explorer: 11.0.22621.3527 npmPackages: @builder.io/qwik: ^1.11.0 => 1.11.0

package.json

  "dependencies": {
    "astro": "^5.0.1",
    "@builder.io/qwik": "^1.11.0",
    "@qwikdev/astro": "https://pkg.pr.new/QwikDev/astro/@qwikdev/astro@257b7d8"
  }

also an issue with this package.json

"dependencies": {
    "astro": "5.0.0-beta.12",
    "@builder.io/qwik": "^1.11.0",
    "@qwikdev/astro": "https://pkg.pr.new/QwikDev/astro/@qwikdev/astro@257b7d8"
  }

steps to reproduce

npm create astro@latest

update package.json

    "@builder.io/qwik": "^1.11.0",
    "@qwikdev/astro": "https://pkg.pr.new/QwikDev/astro/@qwikdev/astro@257b7d8"

npm install

import qwikdev from "@qwikdev/astro";
export default defineConfig({
  integrations: [qwikdev()],
});

npm run dev Dev server doesn't start due to error above

some confirming points

thejackshelton commented 16 hours ago

Looking into this 🫡

thejackshelton-kunaico commented 7 hours ago

@Shane-Donlon can you go ahead and try this version?

https://pkg.pr.new/QwikDev/astro/@qwikdev/astro@bafc173