-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
[BUG] Error: Cannot find module 'iltorb' #55
Comments
I patched in iltorb using a layer and now i'm facing the following error:
This seems similar to #37 and so I guess I'll follow that thread for this new problem. Do let me know if there's an easier way to fix this iltorb issue or if perhaps I missed something when setting this up. |
@mtford90 The issue is not (only) The problem is actually the incompatibility with
You're right that this is related to #37, and I've actually uploaded those dependencies that you need here, but unfortunately it doesn't end there - you'd also need to bundle Fontconfig and at least one font. Given that this setup is much more complex on Closing this as a duplicate of #37. |
Looks like the new nodejs runtimes are supported now. I was able to get past the error with |
next error was Failed to launch Chrome! which I was able to fix (locally) using
|
For code that works locally and in production, you can try this
|
Environment
chrome-aws-lambda
Version: 1.19.0puppeteer
/puppeteer-core
Version: 1.19.0Expected Behavior
iltorb
should not be missing since it seems to be bundled with the package.Current Behavior
Error during lambda invocation:
Possible Solution
I noticed this line in the codebase:
Given that i'm running
nodejs10.15
I would assume this would have resolved to${__dirname}/iltorb
rather "iltorb" as it seems to have done from the error message.Edit: read this wrong - it requires
iltorb
if NOT on 8.10. So am I supposed to be bundling and installing iltorb myself, then?The text was updated successfully, but these errors were encountered: