Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Could not a find a valid prisma.client at .yoga/prisma-client #144

Open
bogdansoare opened this issue May 3, 2019 · 2 comments
Open

Could not a find a valid prisma.client at .yoga/prisma-client #144

bogdansoare opened this issue May 3, 2019 · 2 comments

Comments

@bogdansoare
Copy link

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:

  1. yarn create yoga
  2. Start from scratch
  3. db-yoga (Template with Prisma database support)
  4. yarn prisma deploy
  5. yarn dev

Expected behavior
Dev server should run

Versions (please complete the following information):

  • OS: OS X Mojave
  • yoga CLI: 0.0.20
@guledali
Copy link

guledali commented May 6, 2019

I'm having this problem as well😢

@yoshiakis
Copy link

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/

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

No branches or pull requests

3 participants