charoitel / lambda-layer-canvas-nodejs

Cairo backed Mozilla Web Canvas API implementation layer for AWS Lambda
https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:990551184979:applications~lambda-layer-canvas-nodejs
MIT License
87 stars 22 forks source link

Need some help #6

Closed aneopsy closed 2 years ago

aneopsy commented 2 years ago

Hello,

I'm new in AWS Lambda, I want to use canvas in my lambda function and i'm trying to figure it out how to use node-canvas. I tried to remplace the node_modules/canvas from the NPM to the one generated from lambda-layer-canvas-nodejs but have this error: "errorMessage": "libpixman-1.so.0: cannot open shared object file: No such file or directory"

Thank you

charoitel commented 2 years ago

@aneopsy,

Please refer to the wiki page https://github.com/charoitel/lambda-layer-canvas-nodejs/wiki/Getting-Started to start using the canvas layer. Enjoy and good luck.