A Node.js api is used which is not supported in the edge runtime
Using better auth I get this error: $ next build ▲ Next.js 15.3.3 - Environments: .env.local
Creating an optimized production build ... Compiled with warnings in 1000ms
./node_modules/better-auth/dist/shared/better-auth.DgGir396.mjs A Node.js API is used (process.platform at line: 74) which is not supported in the Edge Runtime. Learn more: https://nextjs.org/docs/api-reference/edge-runtime
Import trace for requested module: ./node_modules/better-auth/dist/shared/better-auth.DgGir396.mjs ./node_modules/better-auth/dist/cookies/index.mjs
✓ Compiled successfully in 55s
but getCookieCache is designed for the edge runtime so it should be fine to use, no?