QwikDev / astro

Qwik + Astro integration
216 stars 13 forks source link

On Astro Build and Preview, Counter Click, 404 NS_ERROR_CORRUPTED_CONTENT. #52

Closed JakubSzark closed 10 months ago

JakubSzark commented 10 months ago

The Problem

  1. I created a fresh astro projects and installing the qwik plugin using the provided astro add installer.
  2. Then create a counter component and add it to the page.
  3. Clicking it works in dev mode, but fails to GET the JS file associated with the counter in production build.

Browser

Firefox

codye

Screenshot 2024-01-12 at 11 40 10 AM

Screenshot 2024-01-12 at 1 08 14 PM

JakubSzark commented 10 months ago

Apparently Astro doesn't work well with directories that have spaces in them. So it created a folder somewhere else in my computer like Other%20Projects and placed the remaining build files there.