Skip to content

Is sqlite is supported in vercel?, SQLITE_CANTOPEN in nextjs when deploy the app #179

Locked Answered by styfle
inteclix asked this question in Help
Discussion options

You must be logged in to vote

Since sqlite stores data locally, we recommend using a different database that can share state between instances of your functions.

You can't reliably write to sqlite because storage is ephemeral in Serverless Functions. As your function receives more concurrent traffic, we will create new instances of your function that don't share the same storage.

Replies: 0 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@Luisdv93
Comment options

@styfle
Comment options

@Luisdv93
Comment options

@AaronConlon
Comment options

Answer selected by mcsdevv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants