distributions icon indicating copy to clipboard operation
distributions copied to clipboard

Installing Node JS on Amazon AMI

Open maane018 opened this issue 8 years ago • 5 comments

When I am trying to install Node js on Amazon EC2, I am getting this error: Your distribution, identified as "system-release-2-3.amzn2.x86_64", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support.

Installation Steps: https://nodejs.org/en/download/package-manager/ Can you please include this in the support list?

maane018 avatar Jun 27 '18 05:06 maane018

+1 see https://travis-ci.org/keboola/developer-portal/jobs/397211205#L1567 It worked fine yesterday (https://travis-ci.org/keboola/developer-portal/jobs/396956247#L1731)

JakubMatejka avatar Jun 27 '18 07:06 JakubMatejka

I think that there is something wrong with the latest version of amazonlinux image of hub.docker.com. Before:

bash-4.2# cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2018.03"

Now:

bash-4.2# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"

My temporary solution is: Fix Dockerfile:

FROM amazonlinux:2018.03

nihammer avatar Jun 27 '18 08:06 nihammer

So what should I do to make it work?

flyapplefly avatar Jun 28 '18 17:06 flyapplefly

I've updated the installer scripts to handle the change that @nihammer noted in the newest Amazon Linux AMI. Can you try running it again please and let me know if it works @flyapplefly ?

chrislea avatar Jun 28 '18 19:06 chrislea

I just ran it again it works! Thanks for fixing it so promptly.

flyapplefly avatar Jun 28 '18 22:06 flyapplefly