Skip to content

Node 16.x is supported? #275

Open
Open

Description

@outaTiME

I am having the following error when I try to run my lambda with node 16.x, does anyone else get this?

 "Failed to launch the browser process!\n/tmp/chromium: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n"

Environment

  • chrome-aws-lambda Version: ^10.1.0
  • puppeteer / puppeteer-core Version: ^10.1.0
  • Lambda / GCF Runtime: nodejs16.x

Activity

  1. added
    bug
    on May 21, 2022
  2. bitconym commented on Jun 27, 2022

    @bitconym

    I see the fix is implemented and a pull request is made. Any reason why is not merged yet?

  3. bktan81 commented on Aug 15, 2022

    @bktan81

    I've received an email from AWS that they are going to phase out the support of Nodejs12 end of 2022. I'm facing the same issue with Nodejs16 and waiting for the latest version of chrome-aws-lambda.

    However, if you are looking for a temporary fix, just fake the AWS_EXECUTION_ENV, please make sure other libraries are not using the environment variable AWS_EXECUTION_ENV for anything.

    exports.handler = async (_event, context, callback) => {
        //Fake the nodejs version
        process.env.AWS_EXECUTION_ENV = "AWS_Lambda_nodejs14.x";
        ...
    
  4. experionsachin commented on Mar 23, 2023

    @experionsachin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions