Node.js project created via CodeStart template not installing Homebrew

0

Node.js project created via CodeStart template not installing Homebrew as per instructions : https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install-linux.html

[root@ip-xxx-xx-xx-xxx environment]# test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
bash: /home/linuxbrew/.linuxbrew/bin/brew: No such file or directory

asked 4 years ago155 views
1 Answer
0

Found solution to above problem :

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
pip install aws-sam-cli

Everything is working perfectly !!!

answered 4 years 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