Comments (9)
Guys don't forget to run npm run build
so that the schema migration is executed.
from roomgpt.
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.
I also have this problem, very frustraiting, i have tried EVERYTHING without success
from roomgpt.
Tried everything still same issue.
from roomgpt.
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"
from roomgpt.
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.
add '?pgbouncer=true' can fix it. P3P-tech already provide me the answer.
from roomgpt.
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.
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)
- Runtime Error after uploading image HOT 5
- Feature: how can users edit the generated room designs?
- Feedback for marketing videos HOT 2
- Google Tag Manager/Facebook Pixel Issue
- How to change port 3000 HOT 1
- Generate Getting 500 server error. How to solve this issue. HOT 3
- Javascript outdated?
- Unlogged in users should not be allowed to access dashboard page. HOT 2
- Custom forniture HOT 1
- Response never arrives on mobile device HOT 1
- Cannot generate images after buying credits HOT 1
- v
- [Question] How is this repo licensed? HOT 1
- I never receive a generated image HOT 1
- Feature : Decline no-rooms images
- error TypeError: Cannot read properties of undefined (reading 'get') HOT 11
- Github repo is not in sync with the demo website HOT 4
- How to control the free credits?
- about image_resolution
- download button does not work in roomgpt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roomgpt.