question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prisma2 generate fails

See original GitHub issue
Error: 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:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
thehappycodercommented, Dec 26, 2019

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.

0reactions
janpiocommented, Mar 9, 2020

Please create a new issue for this @realrhys - then we can take a proper look at the details and help you debug this. Thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found