Skip to content

Can't find pdfinfo #7

Open
Open
@BrianSHenderson

Description

@BrianSHenderson

I'm getting the following error:

/bin/sh: /opt/bin/pdfinfo: No such file or directory

I've created a custom layer through the AWS console. I'm using the Serverless framework to deploy my Lambda functions but I'm not having any success.

The code I'm using is:

  const toRun = `/opt/bin/`
  const { exec } = require("child_process");
  const cmd =  `${toRun}pdfinfo -v`

I would be grateful for any help you can give me.

Screenshot 2021-05-20 at 15 16 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions