T
TanStack2w ago
old-apricot

solved: Vercel server function error

Server function works locally. Doesn't work on vercel deployment
Failed to load resource: the server responded with a status of 500 ()
main-BN8Tzpo7.js:25 Uncaught (in promise) Error: Server function info not found for 3e7b88163a62092eacfc153c4b8fa06431688a88e8ca2957733b9845b3595fe5
at Object.deserialize (main-BN8Tzpo7.js:25:16211)
at _4.deserializePlugin (main-BN8Tzpo7.js:25:11154)
at _4.deserialize (main-BN8Tzpo7.js:25:13195)
at _4.deserializeTop (main-BN8Tzpo7.js:25:12366)
at Rd (main-BN8Tzpo7.js:25:14029)
at Ob (main-BN8Tzpo7.js:26:15225)
at async TR (main-BN8Tzpo7.js:26:14189)
at async client (main-BN8Tzpo7.js:34:25953)
at async purchase-DI_N5WfJ.js:1:416
at async Object.onSubmit (purchase-DI_N5WfJ.js:41:44331)
Failed to load resource: the server responded with a status of 500 ()
main-BN8Tzpo7.js:25 Uncaught (in promise) Error: Server function info not found for 3e7b88163a62092eacfc153c4b8fa06431688a88e8ca2957733b9845b3595fe5
at Object.deserialize (main-BN8Tzpo7.js:25:16211)
at _4.deserializePlugin (main-BN8Tzpo7.js:25:11154)
at _4.deserialize (main-BN8Tzpo7.js:25:13195)
at _4.deserializeTop (main-BN8Tzpo7.js:25:12366)
at Rd (main-BN8Tzpo7.js:25:14029)
at Ob (main-BN8Tzpo7.js:26:15225)
at async TR (main-BN8Tzpo7.js:26:14189)
at async client (main-BN8Tzpo7.js:34:25953)
at async purchase-DI_N5WfJ.js:1:416
at async Object.onSubmit (purchase-DI_N5WfJ.js:41:44331)
`
4 Replies
vicious-gold
vicious-gold2w ago
did you redeploy and browser still uses old version?
old-apricot
old-apricotOP2w ago
I hard refreshed and tested in incognito I literally started this project yesterday following the getting started. I couldn't get it to work in cloduflare so deployed to vercel :reactcharts:
vicious-gold
vicious-gold2w ago
and? still the same issue?
old-apricot
old-apricotOP2w ago
Yes. I found out the issue I think. I had a "use server" directive on a random file with server utilities

Did you find this page helpful?