You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use the getPicture helper function to render responsive pages in my React components, which for some reason didn't work on Vercel. Then I tried doing the same thing but without React components and it still didn't work.
Using <Picture /> does not work either. I have a working project on Vercel so I tried downgrading my packages to the version from that project but that didn't work either.
What version of
astro
are you using?1.6.12
Are you using an SSR adapter? If so, which one?
Vercel
What package manager are you using?
yarn
What operating system are you using?
Windows
Describe the Bug
I was trying to use the
getPicture
helper function to render responsive pages in my React components, which for some reason didn't work on Vercel. Then I tried doing the same thing but without React components and it still didn't work.Using
<Picture />
does not work either. I have a working project on Vercel so I tried downgrading my packages to the version from that project but that didn't work either.This is what I've done to reproduce the bug. Everything works in dev but when deployed it just shows this:
And then this error shows in my vercel functions tab:
Link to Minimal Reproducible Example
https://github.com/savicaleksa/interstellar-lion
Participation
The text was updated successfully, but these errors were encountered: