Tried using Astro 5.1.1 with @qwikdev/astro 0.6.3 by following this article to set it all up. Here is my production build.
In dev it looks fine but in "production" I get errors to the browser console like these:
delta.png:1
Failed to load resource: the server responded with a status of 404 ()
souvlaki42.png:1
Failed to load resource: the server responded with a status of 404 ()
(index):33
GET https://elemental.souvlaki.me/build/q-BbfX3l_6.js net::ERR_ABORTED 404 (Not Found)
E @ (index):33
A @ (index):33
4(index):33 TypeError: Failed to fetch dynamically imported module: https://elemental.souvlaki.me/build/q-BbfX3l_6.js
even after hours regarding my images and the client js file not loading at all. I changed my astro config to this:
import tailwind from "@astrojs/tailwind";
import vercel from "@astrojs/vercel";
import qwikdev from "@qwikdev/astro";
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
output: "static",
site: "https://elemental.souviki.me",
integrations: [tailwind(), qwikdev()],
adapter: vercel()
});
And even tried astro build and astro preview. I saw all files being there just fine and worked like a charm. I got no error logs in the Vercel deployment after git push. All of my images including the favicon are inside the public/ directory and referenced like this in the code: src="/image.jpg". My only warnings I have is
WARN Issues with peer dependencies found
.
├─┬ @builder.io/qwik 1.11.0
│ └── ✕ unmet peer vite@^5: found 6.0.5
└─┬ @qwikdev/astro 0.6.3
└─┬ astro-integration-kit 0.2.1
└── ✕ unmet peer astro@^4.0.0: found 5.1.1
I don't know what to do about them. Should I wait until support for Astro 5 is released? Is this the issue? Thanks.
Tried using
Astro 5.1.1with@qwikdev/astro 0.6.3by following this article to set it all up. Here is my production build.In dev it looks fine but in "production" I get errors to the browser console like these:
even after hours regarding my images and the client js file not loading at all. I changed my astro config to this:
And even tried
astro buildandastro preview. I saw all files being there just fine and worked like a charm. I got no error logs in the Vercel deployment aftergit push. All of my images including the favicon are inside thepublic/directory and referenced like this in the code:src="/image.jpg". My only warnings I have isI don't know what to do about them. Should I wait until support for Astro 5 is released? Is this the issue? Thanks.