Skip to content
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

Break change: There is no yum in nodejs20.x #213

Open
bellondr opened this issue Nov 12, 2024 · 3 comments
Open

Break change: There is no yum in nodejs20.x #213

bellondr opened this issue Nov 12, 2024 · 3 comments

Comments

@bellondr
Copy link

bellondr commented Nov 12, 2024

yum is not exist in amazon/aws-lambda-nodejs:20
Screenshot 2024-11-12 at 19 49 27

@leandrodamascena
Copy link

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

@bellondr
Copy link
Author

@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')
Screenshot 2024-11-12 at 23 03 27

@leandrodamascena
Copy link

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: amazonlinux/amazon-linux-2023#356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants