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
{{ message }}
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Thanks @0xrpj! There might be a need for us to remove the package-lock.json as I think that npm install command will fix the deployed environment for some folks, but end up breaking local.
Either way, I'll link to this thread from the README for now. And I'm gonna re-open the issue so other people can add information as we learn where it stands up and falls down.
changed the title [-]Hey, this is getting 502 bad gateeway while deploying on netlify, how'd you fix it in your app?[/-][+]netlify 502 bad gateway: sharp[/+]on Feb 12, 2024
@Gudcode You're experiencing this issue? It should be fixed now with netlify deploys since locking to a lower version of Satori and removing the package-lock.json
If you ran npm update that could be a reason you're experiencing this. Try deleting the node_modules directory and package-lock.json locally and then running npm install again and see if it fixes stuff.
Yes, no luck. When I test it in https://warpcast.com/~/developers/frames by clicking the frame's button. I get:
?frame=poster
postFakeCastFrameAction 400 - Failed to post fake frame action: Failed to post to frame. Error: Request failed with status code 502
@beeboopx Couple of questions and I should be able to help:
Which version of simplest-frame are you on? I fixed some things last night for v0.11.1
What operating system are you developing from locally? There will be differences in the sharp build used locally, versus the one used on Netlify. Hoping to find a way for this to be accounted for by default but need to do more testing.
Do you have any logs you can share of the error? Might help to debug your specific case.
Activity
0xrpj commentedon Jan 29, 2024
0xrpj commentedon Jan 29, 2024
I was working on macOS.
Fixed with this command:
npm install --platform=linux --arch=x64 sharp
depatchedmode commentedon Jan 29, 2024
Thanks @0xrpj! There might be a need for us to remove the
package-lock.jsonas I think that npm install command will fix the deployed environment for some folks, but end up breaking local.Either way, I'll link to this thread from the README for now. And I'm gonna re-open the issue so other people can add information as we learn where it stands up and falls down.
[-]Hey, this is getting 502 bad gateeway while deploying on netlify, how'd you fix it in your app?[/-][+]netlify 502 bad gateway: sharp[/+]iteration-n commentedon Mar 1, 2024
Any fix available yet? Thanks!
depatchedmode commentedon Mar 1, 2024
@Gudcode You're experiencing this issue? It should be fixed now with netlify deploys since locking to a lower version of Satori and removing the package-lock.json
If you ran
npm updatethat could be a reason you're experiencing this. Try deleting thenode_modulesdirectory andpackage-lock.jsonlocally and then runningnpm installagain and see if it fixes stuff.iteration-n commentedon Mar 1, 2024
Yes, no luck. When I test it in https://warpcast.com/~/developers/frames by clicking the frame's button. I get:
?frame=poster
postFakeCastFrameAction 400 - Failed to post fake frame action: Failed to post to frame. Error: Request failed with status code 502
iteration-n commentedon Mar 10, 2024
@depatchedmode Any ideas why this is occurring? Thanks!
depatchedmode commentedon Mar 13, 2024
@Gudcode Bit stumped, honestly. This might be the moment where we need a real dev.
Let me find time to look at this along some other upgrades this week. Can you share a link to the deployed frame so that I can test against the error?
depatchedmode commentedon Apr 24, 2024
@beeboopx Couple of questions and I should be able to help:
simplest-frameare you on? I fixed some things last night for v0.11.1