node-canvas-lambda
node-canvas-lambda copied to clipboard
Incorrect Amazon Linux in Dockerfile
In the Dockerfile, "FROM amazonlinux:latest" now refers to Amazon Linux 2023, and the Node.JS v16 installation fails on this version. Changing that line to "FROM amazonlinux:2" corrects the issue.
Hi. Thanks for this. Now i am able to build it. But while running in lambda getting /var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header
i am tyring to use the chartjs-node-canvas npm in the lambda. Is there any additional steps i need to do.
Hi. Thanks for this. Now i am able to build it. But while running in lambda getting /var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header
i am tyring to use the chartjs-node-canvas npm in the lambda. Is there any additional steps i need to do.
got into the same issue and this solved it