I am using google cloud function with nodejs12 runtime and I am getting the following error.
EROFS: read-only file system, open '.node-xmlhttprequest-sync-1'"
nodejs (express.js) is creating a file in same level as index.js which is not permitted (files should be created in /tmp/ in cloud functions)
- why is this file created
- if this is necessary, how to ensure its created in /tmp