prisma2 generate fails
See original GitHub issueError: request to https://prisma-builds.s3-eu-west-1.amazonaws.com/master/e7579bd35e0938dbf773f1706c098a0d14a5a038/windows/prisma.exe.gz failed, reason: write EPROTO
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Prisma generate script throws error · Issue #2049 - GitHub
Failed at the graphql-auth@ generate:prisma script. npm ERR! ... cache behavior fails, as it's optional and not needed for the generate command to...
Read more >Handling exceptions and errors (Reference) - Prisma
This page covers how to handle exceptions and errors.
Read more >Error message reference - Prisma
Prisma Client throws a PrismaClientRustPanicError exception if the underlying engine crashes and exits with a non-zero exit code. In this case, the Prisma...
Read more >Migration troubleshooting in production - Prisma
The following guide describes issues relating to Prisma Migrate that can occur in production, and how to resolve them. This guide does not...
Read more >Migration troubleshooting in development - Prisma
Fixing schema drift in a development environment · Reset your database: $npx prisma migrate reset · Replicate the changes in the Prisma schema...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nothing unusual about my environment. My desktop Windows PC is connected to a 4g modem via an Ethernet cable. After a few attempts, I managed to do
prisma2 generate
successfully.After that, I got the same issue on my macbook laptop running MacOS. Without making any more attempts, I connected to the Internet via hotspot created by my phone, which worked.
Please create a new issue for this @realrhys - then we can take a proper look at the details and help you debug this. Thanks.