You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simply copying the module from a non-Linux system won't work. You need to either compile the module directly on an Amazon Linux environment or use a Docker container that mimics Lambda's environment.
I recommend using a docker container on Lambda. The node-canvas prebuild is 30 MB and Lambda's ZIP limit is only 50 MB, so you're likely to hit that limit if you have many other dependencies. Using a docker container also makes it much easier to get the right prebuild installed.
I'm trying to close out as many of the dozens of installation issues as possible. If the above doesn't work and I miss a ping here to reopen this issue, please don't hesitate to open a new one.
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:
in case of canvas I would expect something like:
however releases page includes confusing info:
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: