Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 6 unable to seed the DB #879

Open
GauthierJeannenot opened this issue Oct 7, 2024 · 8 comments
Open

Chapter 6 unable to seed the DB #879

GauthierJeannenot opened this issue Oct 7, 2024 · 8 comments

Comments

@GauthierJeannenot
Copy link

GauthierJeannenot commented Oct 7, 2024

hey guys, I've seen I ain't the only one with problems dealing with chapter 6.
I have followed every instructions to the letter but when i go on the endpoint '/seed' i get this error message

Screenshot 2024-10-07 at 16 12 27

One Workaround people seems to use is to go on the vercel instance of the app and go to the seed endpoint from there.
I did so, and i got the message "database seeded successfully".
Screenshot 2024-10-07 at 16 57 57

But when i go back to "data" on Vercel no tables appear.

One other workaround was to choose a DB server closer to us, which i also did but to no avail.

Plus, there is still need to connect locally to the db further down the tutorial.

I'd like to point out, i've correctly deleted the lines and uncommented the rest of the file
Screenshot 2024-10-07 at 16 54 27

@orrymr
Copy link

orrymr commented Oct 8, 2024

Hey there!

Is this what you're seeing?

pg

if so, you've got to actually click into the search box in order to see available tables:

pg12

As for connecting locally - there seems to be an issue with that. Multiple folks have pointed that out... :(

@GauthierJeannenot
Copy link
Author

Nop, the text input is not clickable

@GauthierJeannenot
Copy link
Author

I wanted to deploy a next.js app using Vercel, but i guess i'll go for AWS

@MSulemanBhanbhro
Copy link

There is not showing table in database

@saimasalmann
Copy link

'Choose a table' is not giving the options..it's not browsing

@saimasalmann
Copy link

Screenshot_2024-11-02-02-11-47-52

@saimasalmann
Copy link

See it..plz help

@nicolastobon09
Copy link

@GauthierJeannenot I had the same issue, but I started using vercel dev instead of other local dev commands like npm run dev, and it worked correctly on localhost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants