Skip to content

Running on local but not on production #6

Description

@mithundas79

I was suffering this for now for quiet a few days.... i wrote my pdf generator on aws lambda based on your code logic...

browser = await chromium.puppeteer.launch({
      args: chromium.args,
      defaultViewport: chromium.defaultViewport,
      executablePath: null,
      headless: true
    });

With this config it runs on local very well
But -> when i change executablePath: await chromium.executablePath and deploy to lambda the lambda function fails with blank error... can you help if possible.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions