FrontendMasters / remix-fundamentals

Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. Get a jumpstart on Remix with this workshop.

Home Page:https://frontendmasters.com/workshops/remix/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prisma Error on each new exercise

TommyAtOn opened this issue · comments

watching the video i followed instructions to get prisma working on exercise 2

however for each new exercise prisma is not working for me, so i need to carry out the steps from ex 02 each time.
this should probably be mentioned somewhere or added to the dev script

for me it works if i
run in /exercise/0x-folder
npx prisma migrate dev
npx prisma db seed
and restart node dev x

👍

Maybe you forgot to run npm run setup @ the root

I'm seeing the same issue. After running npm run setup at the root, Prisma isn't working correctly in the exercises.

I have to manually go into each exercise directory and run the commands @TommyAtOn mentioned above:
npx prisma migrate dev
npx prisma db seed

After that, I'm able to get Prisma working correctly in the exercises.