Local SQLite file on server
Is it possible to store a local
db.sqlite
file in the server directory for a simple database?
I get it working locally, but when deploying to Vercel it doesn't work.
Here are the logs:
3 Replies
It says the db directory doesn't exist
Here's the repo:
https://github.com/sifferhans/companies
GitHub
GitHub - sifferhans/companies
Contribute to sifferhans/companies development by creating an account on GitHub.
nvm SQLite is not supported in serverless
https://vercel.com/guides/is-sqlite-supported-in-vercel
Vercel Documentation
Is SQLite supported in Vercel?
Information about whether SQLite is supported in a serverless environment like Vercel.