Dev
Explore posts from serversBABetter Auth
•Created by Dev on 3/1/2025 in #help
Type Error: Type instantiation is excessively deep and possibly infinite
2 replies
BABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
Also, for anyone new, react-router framework specific docs will be appreciated
12 replies
BABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
Thanks Phillex, this worked, ill keep that in mind,
12 replies
BABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
okay now im not getting the method not allowed error but its still not signing me in
this is how im doing it
12 replies
BABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
this works but not as expected,
its signing up the user if i use the onSubmit in the page itself (the nextjs way), ideally it should work with the action function, which it does not
also, after the user is signed up, and i try to log in using the same methodology as signup, the "page" shows "Error - Method not allowed", with empty console logs, but the onSuccess method gets triggered and i get the alert of "sign up successful", but then session is null in the app, but in the cookies i can see the
better-auth.session_token
12 replies
BABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
>app/lib/auth.ts
>app/routes/api.auth.$.ts
>app/lib/auth-client.ts
12 replies
BABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
so i tried using the
action
function, which also didn't work
// POST http://localhost:5173/auth/register.data 400 (Bad Request)
im not sure im doing it right or wrong12 replies
CDCloudflare Developers
•Created by Dev on 2/9/2025 in #pages-help
Next.js + Cloudflare pages functions
im using next on pages, and i want to run both the frontend and the apis in functions dir with same command at same time
6 replies
CDCloudflare Developers
•Created by Dev on 2/9/2025 in #pages-help
Next.js + Cloudflare pages functions
when i run
bun preview
the apis inside the functions/api didnt work but if i run wrangler pages dev
the frontend didnt load6 replies
CDCloudflare Developers
•Created by Dev on 1/25/2025 in #pages-help
Help: Binding undefined during build process
ohh, got it, i'll check it out, thanks
17 replies
CDCloudflare Developers
•Created by Dev on 1/25/2025 in #pages-help
Help: Binding undefined during build process
these ones :
"@cloudflare/next-on-pages": "1",
"@cloudflare/workers-types": "^4.20250109.0",
??
and no, i only have one wrangler.toml file
17 replies
CDCloudflare Developers
•Created by Dev on 1/25/2025 in #pages-help
Help: Binding undefined during build process
how do i do that?
i followed a tutorial on integrating hono in nextjs
>src/app/api/[...route]/route.ts
>src/lib/hono-client.ts
17 replies
CDCloudflare Developers
•Created by Dev on 1/25/2025 in #pages-help
Help: Binding undefined during build process
>next.config.ts
17 replies
CDCloudflare Developers
•Created by Dev on 1/25/2025 in #pages-help
Help: Binding undefined during build process
17 replies
CDCloudflare Developers
•Created by Dev on 1/25/2025 in #pages-help
Help: Binding undefined during build process
sure,
>package.json
17 replies