Coder Social home page Coder Social logo

Comments (9)

caevv avatar caevv commented on August 16, 2024 3

Guys don't forget to run npm run build so that the schema migration is executed.

from roomgpt.

R3P-tech avatar R3P-tech commented on August 16, 2024 2

Update your .env file with both the DATABASE_URL and DIRECT_DATABASE_URL variables settings. As shown in the following example, set DATABASE_URL to the pooled connection string for your Neon database and include pgbouncer=true, and set DIRECT_URL to the non-pooled connection string. https://neon.tech/docs/guides/prisma-migrate

DATABASE_URL=postgres://3xample:[email protected]/neondb?pgbouncer=true
DIRECT_DATABASE_URL=postgres://3xample:[email protected]/neondb
SHADOW_DATABASE_URL=postgres://3xample:[email protected]/shadow_db

from roomgpt.

rgsaura avatar rgsaura commented on August 16, 2024

I also have this problem, very frustraiting, i have tried EVERYTHING without success

from roomgpt.

Estehsan avatar Estehsan commented on August 16, 2024

Tried everything still same issue.

from roomgpt.

rgsaura avatar rgsaura commented on August 16, 2024

i paid 15$ to a fiver guy to resolve this issue. Your welcome.

"The reason you are getting the error is [DIRECT_DATABASE_URL] because of this database you are adding two database url but its schema is schema add in one now the Google provider login is not getting the database schema.
You have given two different database URLs but Prisma schema is adding to one database. Because of this, it is not finding the database schema while logging in with the Google provider"
image

from roomgpt.

goyalpramod avatar goyalpramod commented on August 16, 2024

image
I am running into the same issue, but it seems its because the database is not able to establish a connection, Any idea how I can fix it?

from roomgpt.

mmtechhk avatar mmtechhk commented on August 16, 2024

add '?pgbouncer=true' can fix it. P3P-tech already provide me the answer.

from roomgpt.

Kellokes avatar Kellokes commented on August 16, 2024

Even with the above suggestions, I'm still having problem with the same error. I think that Neon's Postgree service doesn't work very well and that's why we can't maintain connectivity between the application and the bank. Does anyone have a suggestion for a similar service to evaluate if it solves the problem?

from roomgpt.

Nutlope avatar Nutlope commented on August 16, 2024

Hey all. I've just simplified the repo to remove auth and payments so you can clone and deploy very easily, only with a Replicate environment variable. Try it out and if you still have any problems, please open a new issue and I will take a look!

from roomgpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.