Vercel Help
Unanswered
Max posted this in #help-forum
MaxOP
I have a "database" folder and i want to access the database in my src/app/api/spotify.ts.
But i get the error
And if I log all files/folders in the current path, then only these are logged:
And the database folder is not found
Does anyone know why?
https://i.imgur.com/1LtI37q.png
But i get the error
Unhandled Rejection: [Error: SQLITE_CANTOPEN: unable to open database file] {
errno: 14,
code: 'SQLITE_CANTOPEN'
}And if I log all files/folders in the current path, then only these are logged:
package.json
node_modules
___next_launcher.cjs
.nextAnd the database folder is not found
Does anyone know why?
https://i.imgur.com/1LtI37q.png
6 Replies
MaxOP
When I try it locally, everything works perfectly
MaxOP
Can anyone help?
#vercel-help 🙂
Likely its because its hosted on vercel and with serverless computing and all that, I dont do hosting through vercel so im not 100% sure but I would go there for help
also, dont expect a response in 20 minutes... this is free help, not a paid for support service
Asian black bear
Additionally, pick a more descriptive thread title in the future that actually summarizes what you need help with rather being so generic.