Skip to content

Update to Node v14, v16 or v18 #56

@digitalsadhu

Description

@digitalsadhu

We are currently using Node v12 which will no longer be supported on AWS Lambda soon so we need to update.
Our dependency on Canvas makes this is a little challenging as we need to upload new lambda layers for these.

I have managed to use this project: https://github.com/jwerre/node-canvas-lambda to upload new layer for both Node 14 and Node 16.
Screen Shot 2022-12-17 at 22 56 02

After updating the dev function to Node 16 and adding the new Node 16 layers, my first attempt to test this, however, has resulted in the following error:
Screen Shot 2022-12-17 at 22 58 35

To be continued...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions