Installation Procedure Error: Can't run `npm run db-init`
alfianridwan opened this issue · 1 comments
alfianridwan commented
I am following the installation procedure from https://docs.pckd.me/docs/install-from-code
So far there have been no errors, up to step 6.
When I run npm run db-init on my server through SSH, I got the following error message:
Error: Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided
Other information:
- NodeJS v16.16.0
- NPM v8.11.0
- Ubuntu 22.04
- MySQL 8.0
Any help is appreciated.
alfianridwan commented
My bad, ran npm update
to update Prisma to the latest version server
folder and it works. Reference: prisma/prisma#12786 (comment)