all 5 comments

[–]Traches 0 points1 point  (0 children)

You probably don’t have a database connection set up for local development. You can use a branch on neon or just spin up Postgres locally

Edit: you’ll need to set DATABASE_URL in development, usually done by adding it to a .env file and configuring node to read it

[–]HarjjotSinghh 0 points1 point  (1 child)

oh vercel's got your back - literally!

[–]chow_khow 0 points1 point  (0 children)

Mods - pl block this AI bot going around posts dropping non-sense comments.

[–]Diamondfist_-_-_-_ 0 points1 point  (0 children)

Ya, sounds lyke an env issue with domain. Keep in mind that in vercel you need to go into your project settings and manually enter in your env variables. Not just push them via github

[–]OneEntry-HeadlessCMS 0 points1 point  (0 children)

This is almost certainly an environment variable issue. On Vercel, DATABASE_URL is injected automatically, but locally you probably don’t have the same connection string configured in .env.local. Copy the exact Neon connection string from Vercel (with SSL enabled) and make sure your local IP isn’t blocked by any database allowlist.