Just-Moh-it / Pckd

The ⚡️ analytics-intensive, self-hostable link-shortener with a beautiful UI | AKA free bit.ly alternative 🚀
https://docs.pckd.me/
MIT License
784 stars 95 forks source link

Installation Procedure Error: Can't run `npm run db-init` #53

Closed alfianridwan closed 2 years ago

alfianridwan commented 2 years ago

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:

Any help is appreciated.

alfianridwan commented 2 years ago

My bad, ran npm update to update Prisma to the latest version server folder and it works. Reference: https://github.com/prisma/prisma/issues/12786#issuecomment-1113957336