-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
execFile("/opt/bin/phantomjs", ["-h"], null, function (err, stdout, stderr) {
console.log("webshotCreator out:", JSON.stringify(stdout))
console.log("webshotCreator err:", JSON.stringify(stderr))
})
Fails saying
2021-01-26 10:16:11.669 (+00:00) 7aa98208-60a4-466a-b8b6-0a73a757ae44 INFO webshotCreator err: "/opt/bin/phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory\n"
Also
export PATH="/opt/phantom-js/bin/:$PATH"; # Add the layer in the path
should be
export PATH="/opt/bin/:$PATH"; # Add the layer in the path
at least for how it's being deployed for me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels