Error: Unable to require(`/node_modules/prisma/libquery_engine-debian-openssl-3.0.x.so.node`)
See original GitHub issue“prisma”: “^3.13.0”, “@prisma/client”: “^3.13.0”, node v16.14.0 Ubuntu 22.04
comand: yarn prisma generate response:
yarn run v1.22.18
$ /node_modules/.bin/prisma generate
Environment variables loaded from .env
Prisma schema loaded from src/infra/repository/prisma/schema.prisma
Error: Unable to require(`/node_modules/prisma/libquery_engine-debian-openssl-3.0.x.so.node`)
/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)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created a year ago
- Comments:23 (6 by maintainers)
Top Results From Across the Web
node.js - error states Unable to require(node_modules/prisma ...
It seems there is an issue with the version of OpenSSL installed on your machine. You might need to (re)install OpenSSL.
Read more >Error: Unable to require(`/node_modules/prisma ... - bytemeta
yarn run v1.22.18 $ /node_modules/.bin/prisma generate Environment variables loaded from .env Prisma schema loaded from src/infra/repository/prisma/schema.
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 had the same issue after upgrading to ubuntu 22 from 21, node was installed using snap! What helped: remove snap version, install with apt.
For anyone who is still having the issue even with :
"@prisma/client": "3.13.0"
and"prisma" : "3.13.0"
I have simply followed the what was shared at this comment : link .
Here is what I have done :