By using AWS re:Post, you agree to the Terms of Use

NodeJs installation fails for new environment Rails 6


I am working on deploying a new Rails 6 app (2.7.4) and was making successfully making deployments until yesterday. I tried to stand up a new environment using a previously successful saved configuration and code base from just two days prior but it failed. Upon investigation I found this in my cfn-init.log:

Command 01_install_node (sudo curl --silent --location | sudo bash -
sudo yum -y install nodejs
) failed

Someone else posted a similar issue at the beginning of October and a possible solution was to update a cert on the AWS Linux II instance, but when I ran this command:
sudo yum install

...I got the following error: "...does not update installed package.
Error: Nothing to do"

Edited by: tfossum on Nov 4, 2021 7:50 PM

asked a year ago14 views
1 Answer

This seemed to have to do with aws experiencing interrupted access to the nodejs distribution mirrors.

Edited by: tfossum on Nov 5, 2021 12:15 PM

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions