QwikDev / qwik

Instant-loading web apps, without effort
https://qwik.dev
MIT License
20.45k stars 1.26k forks source link

[🐞] `q-bundle-graph-dev....json` 404 in dev mode #6601

Closed DustinJSilk closed 1 week ago

DustinJSilk commented 1 week ago

Which component is affected?

Qwik Runtime

Describe the bug

When using the PrefetchServiceWorker component, the /build/q-bundle-graph-dev0xze636vhndi.json file throws a 404. Similar to https://github.com/QwikDev/qwik/issues/6600, however, the problem cannot be fixed by simply building the app once.

Reproduction

https://github.com/DustinJSilk/qwik-prefetch-dev-bundle

Steps to reproduce

$ pnpm i

$ pnpm start

See 404 error in the browser when fetching the prefetch graph file.

System Info

n/a

Additional Information

No response

gioboa commented 1 week ago

Hi @DustinJSilk nice catch, the prefetch behavior works only in production mode so I'll create a PR to disable this request in dev mode.

DustinJSilk commented 1 week ago

Thanks @gioboa ! I really appreciate all the effort you’re putting in. I’ve just come back from leave so I’m doing some thorough testing on the latest changes and will try document any further issues I find.

gioboa commented 1 week ago

Thanks @gioboa ! I really appreciate all the effort you’re putting in. I’ve just come back from leave so I’m doing some thorough testing on the latest changes and will try document any further issues I find.

Thanks for you help, we really appreciate it