Skip to content

Running on local but not on production #6

@mithundas79

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.

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