Knex can't acess db.sqlite when are hosting in vercel
RafaelGoulartB opened this issue · 1 comments
RafaelGoulartB commented
When host the project in Vercel, knex can't read db.sqlite.
quangminhit94 commented
Now heroku-postbuild script entry is no longer required because heroku now automatically running npm run build .
To fix this please open package.json then edit like this:
{
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start -p $PORT"
}
}