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

Prisma Error on each new exercise #10

Open
TommyAtOn opened this issue Aug 8, 2022 · 2 comments
Open

Prisma Error on each new exercise #10

TommyAtOn opened this issue Aug 8, 2022 · 2 comments

Comments

@TommyAtOn
Copy link

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

👍

@juanpprieto
Copy link

Maybe you forgot to run npm run setup @ the root

@podenborg
Copy link

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.

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

3 participants