I'm trying to use node-canvas
to create animated gifs with an AWS Lambda function. But I'm struggling to even get off the ground with all the dependencies.
I've read the thread here, but it's mostly greek and I can't get it working.
I'd far prefer an out of the box (prebuilt) option and have found node-canvas-lambda-deps
, but the docs are sparse (non-existent), so I'm not sure how to make use of it.
I've tried copying this example verbatim, but just get the error:
Error: function response: Module did not self-register.
Any tips to get node-canvas, or any way to create an animated gif, running in a Lambda?