Write temp files to /tmp - #157
Conversation
This should help solving driverdan#145
I tried that with AWS Lambda and it works fine, however, my initial issue was with Google Cloud Function. The introduced changed in this PR doesn't work. I believe the main problem is with a different approach to the /tmp directory in GCF. I managed to fix that by calling spawnSync to check if syncFile exists in the child process. |
barodeur
commented
Jan 18, 2018
Sorry to hear this doesn't help you. |
demsey2
commented
Jan 18, 2018
you need that fix for AWS Lambda for Google Functions you need more changes |
barodeur
commented
Jan 18, 2018
Thanks for the clarification |
hmoog
commented
Jun 13, 2018
checkout https://www.npmjs.com/package/xmlhttprequest-ts - i added your pull request |
As suggested by @lucabarze in #145 this fix should fix the problem we have when using sync requests on AWS Lambda.