sanidhyy / duolingo-clone

Interactive platform for language learning with lessons, quizzes, and progress tracking.
https://lingo-clone.vercel.app/
MIT License
81 stars 34 forks source link

npm run db:prod not working due to relation does not exist #8

Closed popcake456 closed 5 days ago

popcake456 commented 5 days ago

Describe the bug no issue until part 11 , after running npm install --legacy-peer-deps ,i got a msg ,2 high severity vulnerabilities ,after that i tried to run,npm run db:prod , and got the msg of relation "user_progress ,etch"

To Reproduce Steps to reproduce the behavior:

  1. finish the 10 steps on getting started
  2. run npm install --legacy-peer-deps , today as for sept 12 2024
  3. on terminal run npm run db:prod
  4. thats the error

Expected behavior localhost will not load and same error will occur

Screenshots image

Desktop (please complete the following information):

Additional context im guessing it hast to do with drizzle/db

sanidhyy commented 5 days ago

Hi @popcake456 Thanks for pointing it out. You need to run npm run db:push before running prod script. I have updated readme instructions as well.