Open willwillems opened 5 years ago
I ended up fixing this by commenting out the line where the expandHome
function was called and the line further in the file where the variable that is created in that line is console logged.
I hit this in an AWS Lambda instance. My workaround was to set the env HOME
to /tmp
. Warning; is a bandaid over the problem. Source of the problem lies in https://github.com/sebinsua/scrape-twitter/blob/8ccdb42455145e99af8c80a9b91e62535155a696/src/lib/cli-utils.js#L4
I'm getting an error when importing scrape-twitter with
require('scrape-twitter')
which is being thrown by theexpandHome
function in thecli-utils.js
file.Trace: