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.

[Prisma Bug] Error while generating Prisma client in Example Blog

See original GitHub issue

This 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:closed
  • Created 4 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
janpiocommented, Mar 11, 2020

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.

2reactions
ncphillipscommented, Mar 13, 2020

Yeeeee boi

image
Read more comments on GitHub >

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

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