Hey all - I'm trying to transition a lambda that u...
# help
t
Hey all - I'm trying to transition a lambda that uses
chrome-aws-lambda
from Serverless Framework over to SST and keep running into this error when deployed:
Copy code
WARN	Error: Failed to launch the browser process!
/tmp/chromium: /tmp/chromium: cannot execute binary file
Anyone seen this before and worked through it? I feel like I've scoured the internet with no trace of anything helpful... Of note, it was working just fine with
chrome-aws-lambda
in a layer on Serverless Framework, so I know it's possible. And the layer is loaded into my lambda according to the AWS console. I don't even know where else to look at this point
For anyone who might come across this in the future, the issue was that I had the function architecture set to
arm_64
and the
chrome-aws-lambda
layer referenced in the guide is built for
x86_64
🤦🏼‍♂️
f
Ah glad you figure it out @Tanner Bindrup!