OS: Ubuntu 22.04
There is a bug relevant to openSSL, prisma for this newest version of Ubuntu
There are 2 ways to fix it (Not really sure about this)
- Update package, use prisma dev version (I chose this)
- Install older openSSL version
Step-by-step to create a Blitzjs app
Create the app
npm install -g blitz --legacy-peer-deps
blitz new myAppName
cd myAppName
Fix the bug
- Open the project
- Open package.json file
- Update packages
dependencies: "@prisma/client": "3.13.0-dev.29"
devDependencies: "prisma": "3.13.0-dev.29"
Migrate
blitz prisma migrate dev
Start the project
blitz dev
Top comments (1)
Update
The bug had been fixed, move to the newest prisma might fix the problem
Post: github.com/prisma/prisma/releases/...
For short: dev-to-uploads.s3.amazonaws.com/up...