Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use prebuild for AWS lambda? #2376

Open
1 task done
GeorgeTailor opened this issue Apr 19, 2024 · 0 comments
Open
1 task done

How to use prebuild for AWS lambda? #2376

GeorgeTailor opened this issue Apr 19, 2024 · 0 comments

Comments

@GeorgeTailor
Copy link

Issue or Feature

I am not sure how is this supposed to work, AWS lambda suggests to put external dependencies into separate zip with the following structure:

xray-sdk.zip
└ nodejs/node_modules/aws-xray-sdk

in case of canvas I would expect something like:

canvas.zip
└ nodejs/node_modules/canvas

however releases page includes confusing info:

  1. the name of the release includes node_modules_version instead of node version
  2. the downloaded zip contains nothing that is expected by the lambda as per docs

Steps to Reproduce

Your Environment

  • Version of node-canvas v2.11.2
  • Environment node 20 on AWS Lambda x86_64 – 64-bit x86 architecture, for x86-based processors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant