Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Example is broken #4

Open
jondewoo opened this issue Oct 10, 2019 · 2 comments
Open

Example is broken #4

jondewoo opened this issue Oct 10, 2019 · 2 comments

Comments

@jondewoo
Copy link

Right off the bat:

$ prisma2 generate
Error: Could not find prisma-test-utils-master/example/datamodel.prisma

When schema.prisma has been renamed to datamodel.prisma:

$ prisma2 generate
Error: Unknown generator provider photonjs for generator photon defined in prisma-test-utils-master/example/datamodel.prisma
@janpio
Copy link
Contributor

janpio commented Oct 10, 2019

What prisma2 version are you using? The generator API changed in the last release, which might affect prisma-test-utils.

@jondewoo
Copy link
Author

In this particular case when trying to build the example project, I'm using the version declared in prisma-test-utils-master/example/package.json, so 0.0.35.

In another project where I'm using 2.0.0-preview-13.2, I get a different error:

Error: Could not find generator binary prisma-test-utils

@janpio janpio assigned divyenduz and unassigned divyenduz Feb 10, 2020
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