if you want to use this package with aws lambda, you need to modify the two lines: var contentFile = ".node-xmlhttprequest-content-" + process.pid; var syncFile = ".node-xmlhttprequest-sync-" + process.pid; with var contentFile = "/tmp/node-xmlhttprequest-content-" + process.pid; var syncFile = "/tmp/node-xmlhttprequest-sync-" + process.pid; because you can write only in the /tmp/ directory
Activity
barodeur commentedon Aug 30, 2017
Thanks @lucabarze for reporting this, I'm sending a pull request for this.
demsey2 commentedon Jan 17, 2018
hey @barodeur any updates on that issue?
Write temp files to /tmp
barodeur commentedon Jan 18, 2018
@demsey2 here it is ;)