shabiii
BABetter Auth
•Created by shabiii on 4/16/2025 in #help
build error -next js
Creating an optimized production build ...
Failed to compile.
./node_modules/better-auth/dist/client/react/index.mjs
Attempted import error: 'useRef' is not exported from 'react' (imported as 'React').
Import trace for requested module:
./node_modules/better-auth/dist/client/react/index.mjs
./src/lib/auth-client.ts
./node_modules/better-auth/dist/client/react/index.mjs
Attempted import error: 'useSyncExternalStore' is not exported from 'react' (imported as 'React').
Import trace for requested module:
./node_modules/better-auth/dist/client/react/index.mjs
./src/lib/auth-client.ts
Build failed because of webpack errors
error: script "build" exited with code 1
why am getting this error while building
i am using next.js 15.3.0 and react 19.0.0 and better auth "^1.2.7"
@bekacru @Ping
4 replies
BABetter Auth
•Created by shabiii on 4/3/2025 in #help
Next.js + elysia.js cookie session issue

1 replies
BABetter Auth
•Created by shabiii on 3/14/2025 in #help
Error 400: redirect_uri_mismatch
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.
If you're the app developer, register the redirect URI in the Google Cloud Console.
Request details: redirect_uri=
3 replies