BA
Better Auth•2d ago
anw

getting clientlayout to work

./app/dashboard/components/layout/ClientLayout.tsx:3:10 Type error: Module '"better-auth/react"' has no exported member 'BetterAuthProvider'. 1 | 'use client'; 2 |
3 | import { BetterAuthProvider } from "better-auth/react";
| ^ 4 | import { authClient } from '@/lib/auth-client'; 5 | import { Toaster } from 'react-hot-toast'; 6 | import Footer from '@/components/layout/Footer' Static worker exited with code: 1 and signal: null Error: Command "npm run build" exited with 1 Anyone can help me with this? honestly i'm not very proficient with coding, using an IDE mostly to get it to work. it works fine for the rest just this linter error when trying to deploy on vercel
5 Replies
j_slno
j_slno•2d ago
better-auth doenst provide a BetterAuthProvider
anw
anwOP•2d ago
what shoudl i use instaed
j_slno
j_slno•2d ago
Client | Better Auth
Better Auth client library for authentication.
lonelyplanet
lonelyplanet•2d ago
👀
anw
anwOP•2d ago
thanks man apprecaite it

Did you find this page helpful?