Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find pdfinfo #7

Open
BrianSHenderson opened this issue May 20, 2021 · 1 comment
Open

Can't find pdfinfo #7

BrianSHenderson opened this issue May 20, 2021 · 1 comment

Comments

@BrianSHenderson
Copy link

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

@siroshbashir01
Copy link

same issue I am also facing, it is a path issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants