aws-lambda-poppler-layer
aws-lambda-poppler-layer copied to clipboard
Can't find pdfinfo
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.

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