3 ms·
I love that it uses Node.js to start, but does it support NPM?
by impostervt 12y ago
I love that it uses Node.js to start, but does it support NPM?
- impostervt 12y agoLooks like yes: http://docs.aws.amazon.com/lambda/latest/dg/walkthrough-s3-events-adminuser-create-test-function-create-function.html http://docs.aws.amazon.com/lambda/latest/dg/walkthrough-s3-e... Now, how to deal with node packages that require libraries not on the default amazon linux ami?
- bradyd 12y agoFrom that example it looks like it doesn't support NPM directly, instead you download the dependencies locally and include the node_modules directory in the zip file you upload. Interestingly the example makes use of ImageMagick, which I don't believe is in the default AMI.