[Prisma Bug] Error while generating Prisma client in Example Blog
See original GitHub issueThis project looks great! I’m hoping to get a demo going with TinaCMS added to it for content editing.
Unfortunately, running yarn rw db up
threw an error while I was trying to setup the example-blog
.
Migrate database up... [completed]
Generating the Prisma client... [started]
Error: Error: Command was killed with SIGSEGV (Segmentation fault): /Users/ncphillips/Code/ncphillips/example-blog/node_modules/prisma2/query-engine-darwin --enable_raw_queries cli --dmmf
Generating the Prisma client... [failed]
→ Command failed with exit code 1: prisma2 generate
Command failed with exit code 1: prisma2 generate
✨ Done in 1.66s.
I can reliably reproduce by following the Install Steps for the Example Blog, even from a fresh clone. The only thing I changed from teh repo is I switched the datasource provider to sqlite
.
| OS | macOS 10.15.3 | | node | 12.14.1 | | yarn | 1.15.2 |
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Creating bug reports for Prisma
This page explains best practices for creating bug reports for Prisma, including sharing additional debugging output and other recommendations.
Read more >Error message reference - Prisma
Prisma Client throws a PrismaClientUnknownRequestError exception if the query engine returns an error related to a request that does not have an error...
Read more >Transactions - Prisma
Explore techniques for handling transactions with Prisma Client. ... records related by ID at the same time (for example, create a blog post...
Read more >Configuring error formatting (Concepts) - Prisma
By default, Prisma Client uses ANSI escape characters to pretty print the error stack and give recommendations on how to fix a problem....
Read more >Generating the client (Concepts) - Prisma
Important: You need to re-run the prisma generate command after every change that's made to your Prisma schema to update the generated Prisma...
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 FreeTop 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
Top GitHub Comments
Hey @ncphillips, thanks for reporting this - I created a sister issue over at Prisma so we do not spam this one with our investigation: https://github.com/prisma/prisma2/issues/1819 You can subscribe to that one for updates, and we might @ mention you to e.g. request more information.
Yeeeee boi