Open jcbdev opened 2 years ago
Duplicate of https://github.com/prisma/nexus-prisma/issues/185
I've also experienced the same issue; had to downgrade to 0.34.0
This is not a m1 issue as I'm running it on a non-m1 mac and can reproduce it. Can also confirm that 0.34.0
does not have this issue.
I"m on Windows 11 and can confirm that 0.35.0 is having similar issues where it just hangs, but the issue isn't here when downgrading to 0.34.0
Downgrading to 0.34.0 didn't help. Had to downgrade graphql-yoga to "^1.18.3". Then it worked. Windows 10. My dependencies:
"dependencies": {
"@devoxa/prisma-relay-cursor-connection": "^1.1.1",
"@parse/node-apn": "^4.0.0",
"@prisma/client": "^4.1.1",
"@types/lodash": "^4.14.168",
"@types/pako": "^1.0.1",
"@types/ws": "^7.4.0",
"bull": "^3.20.1",
"bull-board": "^1.4.1",
"firebase-admin": "^9.5.0",
"graphql-shield": "^7.5.0",
"graphql-yoga": "^1.18.3",
"nexus": "^1.3.0",
"nexus-prisma": "^0.35.0",
"pako": "^2.0.3",
"rate-limiter-flexible": "^2.2.1",
"rxjs": "^6.6.6"
}
Update:
For everybody that we're stuck on this, it was nexus-prisma
eating up dependency missing error. nexus-prisma
uses floggy
as a dependency, and they have a problem with the chalk
dependency (here). To fix it, install chalk
v4 as a dependency manually:
yarn add chalk@4
This relates to closed issue https://github.com/prisma/nexus-prisma/issues/30
OS: MacOS Monteray (M1) Prisma version: 3.8.1 nexus-prisma version: 0.36.0-next.1
Description
Running
npx prisma generate
just stops processing and never completesHere are the logs with DEBUG=* turned on
it never moves on from here.