#can't find getFunctionName at runtime
11 messages · Page 1 of 1 (latest)
hmmm it should? is convex_server the correct thing here, the import should look like import { getFunctionName } from "convex/server";, maybe convex_server just how Vite transforms that
anyApi comes from convex/_generated/api
/* eslint-disable */
/**
* Generated `api` utility.
*
* THIS CODE IS AUTOMATICALLY GENERATED.
*
* Generated by convex@0.17.1.
* To regenerate, run `npx convex dev`.
* @module
*/
import { anyApi } from "convex/server";
somehow it seems like vite isn't including everything?
There should be an export line there too
export const api = anyApi;