npm install with AWS Lambda

Viewed 3332

I'm writing AWS Lambda function in Javascript. I need to use synchronize.js library, so I ran npm install synchronize. Everything works fine locally, but when I upload *.zip to AWS and run, it thorws the following error:

  "errorMessage": "`/var/task/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node` is missing. Try reinstalling `node-fibers`?"

I think it expects different binaries version installed by npm. How can I fix it?

1 Answers
Related