Skip to content

Use in custom Node runtimes #268

@dougmoscrop

Description

@dougmoscrop

What would you like to have implemented?

Running Node 16 in a Custom Runtime on Lambda, requires this workarond:

process.env.AWS_EXECUTION_ENV = 'AWS_Lambda_nodejs14.x'
const { default: chromium } = await import('chrome-aws-lambda')

Given the deprecation of older Lambda runtimes, perhaps the check could just be if AWS_EXECUTION_ENV starts with AWS_Lambda_?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions