N
Neon7mo ago
eastern-cyan

NextJS -> Next-Auth -> Drizzle ORM -> NeonDB Setup Help

I'm wondering if anyone has successfully set up this stack? I can't for the life of me figure out what is wrong with my setup, but when I try to signIn with OAuth, I get a NeonDBError. [auth][error] AdapterError: Read more at https://errors.authjs.dev#adaptererror [auth][cause]: NeonDbError: relation "account" does not exist
Auth.js | Errors
Authentication for the Web
No description
No description
5 Replies
eastern-cyan
eastern-cyanOP7mo ago
I have no problems writing to the database with a seed file.
No description
eastern-cyan
eastern-cyanOP7mo ago
and the tables definitely exist
passive-yellow
passive-yellow7mo ago
@Jasnsy Can you share the entire code?
eastern-cyan
eastern-cyanOP6mo ago
I figured it out by stumbling accross some random YT video. it started working when I used Pool from neon-serverless instead of http
passive-yellow
passive-yellow6mo ago
Glad it's all working!

Did you find this page helpful?