Open bellondr opened 2 weeks ago
Hey @bellondr! Nodejs 20.x uses Amazon Linux 2023 and in this OS you must use dnf
instead of yum
.
Check here: https://docs.aws.amazon.com/lambda/latest/dg/nodejs-image.html
@leandrodamascena thanks for your reply. I have a question: how to install chromium in amazon/aws-lambda-nodejs:20 ? When I use dnf install chromium, return [error pas](error: No package matches 'chromium')
I don't know if you can install this using dnf
@bellondr! Looks like you'll need to find alternative ways.
There is an open issue in the Amazon Linux 2023 repository about this: https://github.com/amazonlinux/amazon-linux-2023/issues/356
yum is not exist in amazon/aws-lambda-nodejs:20