[Solved] Error: Server function info not found for src--listUsers_createServerFn_handler

Hello my fellow tanstack users!

As you can read in the title I have this message whenever I visit a page that
Error: Server function info not found for src_lib_auth_users_fn_ts--listUsers_createServerFn_handler
    at getServerFnById


I tried removing every bit of cache I found like .nitro .tanstack node_modules etc..
My app builds correctly but the error still happends at runtime when I visit the page.

SOLUTION- Just logging this if someone search for the error:

I solved it by changing the server-function handler itself, adding a dummy console log inside then rebuilding & restarting dev-server did the trick. Prior to this I removed all the caches as mentionned above.
Was this page helpful?