Replies: 2 comments 7 replies
-
I imagine you already solved your issue. It works fine for me using If you still haven't found a solution check if the API schema gets generated when running datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
generator nexusPrisma {
provider = "nexus-prisma"
} You should see something like this in the command output
|
Beta Was this translation helpful? Give feedback.
4 replies
-
Did you ever manage to fix this? I'm having the exact same issue as you just running the example from nexus-prisma docs website... error:
prisma generate:
tsconfig:
package versions:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋🏻
As I can see #124 was implemented but I have some problems with it. When I try to import nexus-prisma it still tries to import cjs module so I get errors trying to run my app.
Any ideas? type is set to 'module' and nexus-prisma is imported using "import" keyword
EDIT: If I change import to
then I get the following error:
Beta Was this translation helpful? Give feedback.
All reactions