Can't run `prisma generate` on Ubuntu 22.04
See original GitHub issueBug description
> Downloading Prisma engines for Node-API for debian-openssl-3.0.x [ ] 0%
Error: Not Found https://binaries.prisma.sh/all_commits/bcc2ff906db47790ee902e7bbc76d7ffb1893009/debian-openssl-3.0.x/libquery_engine.so.node.gz
How to reproduce
- running
prisma generate
Expected behavior
No response
Prisma information
generator client {
provider = "prisma-client-js"
previewFeatures = ["mongoDb"]
}
datasource db {
provider = "mongodb"
url = env("MONGODB_URL")
}
model credentials {
id String @id @default(auto()) @map("_id") @db.ObjectId
token String
adnetwork String
}
model statistics {
id String @id @default(auto()) @map("_id") @db.ObjectId
date String
impression Int
revenue Float
cpm Float
adnetwork String
lastupdate Int
}
Environment & setup
- OS: PopOS 22.04
- Database: MongoDB
- Node.js version: v16.14.2
Prisma Version
prisma : 3.13.0
@prisma/client : 3.9.2
Current platform : debian-openssl-3.0.x
Query Engine (Node-API) : libquery-engine efdf9b1183dddfd4258cd181a72125755215ab7b (at ../../../../usr/local/lib/node_modules/prisma/node_modules/@prisma/engines/libquery_engine-debian-openssl-3.0.x.so.node)
Migration Engine : migration-engine-cli efdf9b1183dddfd4258cd181a72125755215ab7b (at ../../../../usr/local/lib/node_modules/prisma/node_modules/@prisma/engines/migration-engine-debian-openssl-3.0.x)
Introspection Engine : introspection-core efdf9b1183dddfd4258cd181a72125755215ab7b (at ../../../../usr/local/lib/node_modules/prisma/node_modules/@prisma/engines/introspection-engine-debian-openssl-3.0.x)
Format Binary : prisma-fmt efdf9b1183dddfd4258cd181a72125755215ab7b (at ../../../../usr/local/lib/node_modules/prisma/node_modules/@prisma/engines/prisma-fmt-debian-openssl-3.0.x)
Default Engines Hash : efdf9b1183dddfd4258cd181a72125755215ab7b
Studio : 0.459.0
Preview Features : mongoDb
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Prisma CLI Installation (Reference)
The Prisma CLI is typically installed as a development dependency, that's why the --save-dev (npm) and --dev (Yarn) options are used in the...
Read more >Unknown binaryTarget debian-openssl-3.0.x and no custom ...
I recently updated to Ubuntu 22.04 Getting the problem while using Prisma.I can't run my project. I have use "@prisma/client": "2.20.1".
Read more >Ubuntu 22.04: Create Blitzjs app - DEV Community
Ubuntu 22.04 : Create Blitzjs app. OS: Ubuntu 22.04. There is a bug relevant to openSSL, prisma for this newest version of Ubuntu...
Read more >System requirements - Prisma Cloud - Palo Alto Networks
The Prisma Cloud Console doesn't support running on ARM64 systems. ... Ubuntu. Ubuntu 22.04 LTS. Ubuntu 20.04 LTS. Ubuntu 18.04 LTS.
Read more >Command Line Interface | RedwoodJS Docs
~/redwood-app$ yarn redwood build yarn run v1.22.4 $ /redwood-app/node_modules/.bin/redwood build ✓ Generating the Prisma client... ✓ Building "api".
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
You need to update both Prisma CLI and Prisma Client to 3.13.0 - then it will work.
still dosen’t work. I get a new Error
Unable to establish a connection to query-engine-node-api library
i used the starter project only changed the version from 3.12 to 3.13