Next.js Discord

Discord Forum

typeorm or sequelize for existing project

Unanswered
endre posted this in #help-forum
Open in Discord
I have a next.js site that has been using prisma to comminutcate with the database. However, the app runs on a freebsd server and I have too much problems getting this stack to run. It looks like typeorm and sequelize are possible alternatives, but I have problem finding how to best use them when you have a database already. Any tips or alternatives I should look at?

5 Replies

Philippine Crocodile
Curious what your problem is getting it to run?
@Philippine Crocodile Curious what your problem is getting it to run?
Prisma don't provide a prebuild binary for freebsd. So I spend a day (as I am not very good with freebsd) compiling the binary and when I finally got it, I had problems getting the environment/nextjs to recognise the self build binary. But thinking about it, I almost got it running, so maybe I should revisit it when I have better time.