Prisma 2.24.0 throws error `Query engine exited with code 101 - thread 'main' panicked at 'Could not open datamodel file "/schema.prisma"...'`
See original GitHub issueBug description
Everything works fine in 2.23.0
I am using nx with next and hosting on vercel
How to reproduce
Not sure I’ll be able to setup a minimal reproduction, but @janpio has access to our code to reproduce simply by upgrading to 2.24.0
Expected behavior
No response
Prisma information
Query runs during next build to do SSG. I don’t believe the actual schema is relevant
Environment & setup
- OS: Debian (on vercel)
- Database: PostgreSQL, MySQL, MariaDB or SQLite
- Node.js version: 14.16.0
Prisma Version
2.24.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Environment variables reference - Prisma
This page gives an overview of all environment variables available for use.
Read more >Prisma 2.26.0 Release - GitClear
Prisma 2.24.0 throws error Query engine exited with code 101 - thread 'main' panicked at 'Could not open datamodel file "/schema.prisma"...' ...
Read more >prisma mongodb how to deal with schema update - You.com
Add to existing project. These tutorials will take you through the process of connecting to MongoDB, pushing schema changes, and using the Prisma...
Read more >prisma/README.md - UNPKG
94, prisma deploy ; 95, ``` ; 96 ; 97, The Prisma API is deployed based on the datamodel and exposes CRUD &...
Read more >Prisma Client not finding query-engine after electron ...
webpack is good at pulling js together and outputting some other file. · "schema. · exe files are specific for the operating system...
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
i think this happens specifically when you add output to prisma.schema’s generator client section. i am facing the same issue when pointing client generation at a different path. i think this is also the issue blocking other multi-data sources prisma access in monorepo.
Here are two issues about the
_http_common
thing: https://github.com/prisma/prisma/issues/6564 + https://github.com/prisma/prisma/issues/6925 (There are a bunch of workarounds in the comments like https://github.com/prisma/prisma/issues/6564#issuecomment-849685096)