Open Aqzhyi opened 4 years ago
Hi @hilezi,
IMO, there is not much different between errorMessage: Error: EROFS: read-only file system, mkdir....
and You haven't permission to create files
.
You could use cloud redis, cloud mongo, or other custom session store that works on distributed or serverless system.
Describe the bug
unhandled promise rejection if session driver set "file" on a read-only system such as free plan on ZEIT Now
Unlike local development, there are always restrictions on cloud deployment, especially for free accounts
To Reproduce
bottender.config.js
set'file'
as session.driver$ now
Expected behaviour
expect errorMessage to like "You haven't permission to create files"
Screenshots
Additional context