-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qwik + Astro 5 issues when deploying to Vercel #179
Comments
@Souvlaki42, based on your description, it seems you're facing a server-side issue indicating the need for a server adapter (such as Node.js or Deno) to run your code in production. If this assumption is incorrect, please let me know—I’d also be interested to learn more about your build steps to better understand the situation. |
As stated in the Astro documentation, you need to replace |
If what @siguici mentioned above does not work, we also recently released a big update, I would try the latest Qwik Astro and Qwik versions and see if that potentially fixes it. As for the peer dependencies, would not worry about that, as Vite 5 -> Vite 6 is not a breaking change. |
I changed output to server and updated dependencies. The peers issue didn't go away but I ignored it for now. The image loading issue went away but the client JavaScript issue didn't in production at least.
Even tried to add the client:load property to the client side component in case that fixed the issue. |
If you could add a minimal reproduction of the issue, e.g a new Qwik Astro app deployed on vercel. |
Tried but
Also I got this warning in development in my normal project. Seems to be related:
|
Is the bug preventing you from creating a new project entirely? Try:
Also if you could run:
and provide the output in this issue. |
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:
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 build
andastro 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.
The text was updated successfully, but these errors were encountered: