blackboard/lambda-selenium

Chromedriver path error when aws-sdk modules installed via package.json

codetherus opened this issue · 1 comments

I'm getting 'chromedriver not found in path' error after installing aws-sdk via npm install. Looks like module conflict.

Try adding this to the top of your handler:

process.env.PATH = `${process.env.PATH}:${process.env.LAMBDA_TASK_ROOT}/bin`;

Replace bin in the above with wherever you put the binaries.