yoga2
yoga2 copied to clipboard
Could not a find a valid `prisma.client` at `.yoga/prisma-client`
Describe the bug When trying to start yoga dev server I get the following error
yarn dev
yarn run v1.15.2
$ yoga dev
INFO Starting development server...
ERROR Could not a find a valid `prisma.client` at `.yoga/prisma-client`. Try running prisma deploy to generate the needed files.
To Reproduce Steps to reproduce the behavior:
- yarn create yoga
- Start from scratch
- db-yoga (Template with Prisma database support)
- yarn prisma deploy
- yarn dev
Expected behavior Dev server should run
Versions (please complete the following information):
- OS: OS X Mojave
-
yoga
CLI: 0.0.20
I'm having this problem as well😢
Maybe you weren't able to create .yoga/prisma-client/index.ts
when you did yarn prisma deploy
.
Do you receive the following message when you do yarn prisma deploy
:
Saving Prisma Client (TypeScript) at ${yourCurrentDirectory}/.yoga/prisma-client/