#Server Functions missing when called from another server function on Cloudflare Deploy

10 messages · Page 1 of 1 (latest)

gentle ermine
#

When calling one server funciton in another and deploying to cloudflare, I get an error "Server function info not found for [number]". The code works fine when run locally.

I forked the cloudflare example and added a call to a separate server function

https://github.com/TimothyKrell/Tanstack-start-bug
https://github.com/TimothyKrell/Tanstack-start-bug/blob/master/src/utils/posts.tsx#L32

Deployed: https://tanstack-start-app.superfarm.workers.dev/posts

GitHub

Contribute to TimothyKrell/Tanstack-start-bug development by creating an account on GitHub.

GitHub

Contribute to TimothyKrell/Tanstack-start-bug development by creating an account on GitHub.

#

Should I submit an issue somewhere for this?

gusty owl
#

any luck? Im having the same deal

gusty owl
#

not sure if you are in the same situation, but I solved this by making sure my versions matched between things like @tanstack/react-start and @tanstack-react-router, etc

unique ice
#

Like someone posted here, I solved this removing the dev tools in production: https://www.answeroverflow.com/m/1434517849027907626

In production and while hosting on Vercel none of my server functions is working I always get the error.
Error: Server function info not found for effa3855b54954693c19be111f9426449e6246862d97a2ebe9cf3f0cdb71aa37. I am on the newest version 1.134.9 and also tried a bit older versions. For vercel I tried nitro 2 and 3.
Local I am executing
"buil...

pulsar heath
#

It turns out, in Cloudflare, if calling a server function A in another server function B, calling A will fail because of the "Error: Server function info not found for ..."

limber nebula
#

Is there a fix for this? I'm experiencing this as well.

swift scroll
#

<@&1433977931444519046>

obsidian gyro
#

I don't think this is related to Cloudflare. I just tried building without the Cloudflare plugin and I get the same issue when running the production build.

ancient oasis