Distributions: Installing Node JS on Amazon AMI

Created on 27 Jun 2018  路  5Comments  路  Source: nodesource/distributions

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?

Most helpful comment

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

All 5 comments

+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)

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

So what should I do to make it work?

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 ?

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

Was this page helpful?
0 / 5 - 0 ratings