Export createAdapterFactory doesn't exist in target module
Build Output
./node_modules/.pnpm/@convex-dev+better-auth@0.9_807d8382518d7307d7daede45ce7d913/node_modules/@convex-dev/better-auth/dist/esm/client/adapter.js:1:1 Export createAdapterFactory doesn't exist in target module
1 | import { createAdapterFactory, } from "better-auth/adapters";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import { createFunctionHandle, } from "convex/server"; 3 | import { asyncMap } from "convex-helpers"; 4 | import { prop, sortBy, unique } from "remeda";
The export createAdapterFactory was not found in module [project]/node_modules/.pnpm/better-auth@1.3.8_react-dom_6b4b2077819cf97fcf3d5b9a8ef8005f/node_modules/better-auth/dist/adapters/index.mjs [app-route] (ecmascript). Did you mean to import createAdapter? All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist.