node-XMLHttpRequest icon indicating copy to clipboard operation
node-XMLHttpRequest copied to clipboard

Use with AWS Lambda

Open lucabarze opened this issue 8 years ago • 3 comments

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

lucabarze avatar May 03 '17 09:05 lucabarze

Thanks @lucabarze for reporting this, I'm sending a pull request for this.

barodeur avatar Aug 30 '17 19:08 barodeur

hey @barodeur any updates on that issue?

demsey2 avatar Jan 17 '18 04:01 demsey2

@demsey2 here it is ;)

barodeur avatar Jan 18 '18 08:01 barodeur