Open PierrickLozach opened 3 days ago
@PierrickLozach I believe I saw this error myself stemming from Prisma when the DATABASE_URL
was invalid (or at least, couldn't access the database). Can you double check this field for me in apps/app/.env.local
?
Also experiencing this. DATABASE_URL is set, I can also open prisma studio and add new rows in the DB.
Are you using neon as a database? By default the project is using neon.
By default, next-forge uses [Neon](https://neon.tech/) as its database provider and [Prisma](https://prisma.io/) as its ORM. However, you can easily switch to other providers if you’d prefer,
I was getting this error, but because I wasn't using neon but a postgres database from railway.
To solve this I changed the way the connection is made.
Great point. @PierrickLozach what database provider are you using?
This fixed my issue! Thanks!
I get this error when I run
pnpm dev
and go to http://localhost:3000:next-forge version I am using version 2.3.10
To Reproduce Follow the setup instructions. Add environment variables
Screenshots
Desktop (please complete the following information):
I believe it might be due to one of the environment variables (I have created accounts on each provider) but I can't find which one is causing the error?
Thanks!