Error: Get config: Unable to establish a connection to query-engine-node-api library
See original GitHub issue$/prisma/starter$ npx prisma generate
Prisma schema loaded from prisma/schema.prisma
Error: Get config: Unable to establish a connection to query-engine-node-api library
Prisma CLI Version : 3.15.1-dev.1
How to Reproduce OS: 22.04 Ubuntu Node: 16.15.1 Follow these instructions. https://www.prisma.io/docs/getting-started/quickstart#1-download-the-starter-project Switch to latest possible release: 3.15.1-dev.1 as per today.
What have i tried so far Switching databases sqlite, postgres Switching node from 16 to 17. using 3.13 3.14 gives me this error
/snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libcrypto.so.3)
in ubuntu i could not figure out how to install GLIBC_2.33 tying with npm and yarn
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:32 (13 by maintainers)
Top Results From Across the Web
Error: Get config: Unable to establish a connection to query ...
In my case, my anaconda environment was on and so, I couldn't initiate the migration. Open a fresh terminal without any environments or ......
Read more >Query engine (Concepts) - Prisma
Prisma's query engine manages the communication with the database when using Prisma Client. Learn how it works on this page.
Read more >How to Fix "Unable to load Node-API Library" with Cypress on ...
Here's how to fix the "Unable to Load Node-API Library" error that can come up when trying to use Prisma in Cypress tasks...
Read more >PostgreSQL connection errors in release_command - Fly.io
I'm getting a P1017 “Server has closed the connection” error. ... 2022-09-08T13:56:03.862Z prisma:getConfig Using CLI Query Engine (Node-API Library) at: ...
Read more >please make sure your database server is running at ...
Below I run npx prisma introspect , but also npx prisma db push and a node script.js for each configuration to show that...
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
https://github.com/nodesource/distributions/blob/master/README.md
Ok the snap version of node is not compatible with prisma. Its going to trap ubuntu users who install almost everything with snap.
Updated to v4.0.0 and it still fails. I think it is actually an issue with
pnpm
. Testing nowupdate
after upgrading to v4, it is now throwing this more verbose error
update 2
Switching from
pnpm
toyarn
does not solve the issue, throws erroridk if it helps, but here are my versions