Installation on Ubuntu EC2

62 views
Skip to first unread message

Andrew Cooper

unread,
May 27, 2022, 10:19:03 AM5/27/22
to Cloud Carbon Footprint
Hi,

Has anyone successfully managed to install this on an EC2 running Ubuntu 22.04 LTS AMI?

I will admit I am not the best when it comes to Linux, but this driving me crazy now!

These are the steps I follow:

I have installed Node successfully, created the app, Yarn install runs fun. When I go into the app directory and run yarn guided-install, i get this:

Internal Error: root-template@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
    at AF.getCandidates (/home/ubuntu/cloudcf/.yarn/releases/yarn-3.1.1.cjs:437:4421)
    at pd.getCandidates (/home/ubuntu/cloudcf/.yarn/releases/yarn-3.1.1.cjs:432:5275)
    at /home/ubuntu/cloudcf/.yarn/releases/yarn-3.1.1.cjs:441:7674
    at du (/home/ubuntu/cloudcf/.yarn/releases/yarn-3.1.1.cjs:382:4003)
    at R (/home/ubuntu/cloudcf/.yarn/releases/yarn-3.1.1.cjs:441:7654)
ubuntu@ip-10-0-1-100:~/cloudcf$

Can anyone help, or mind sharing the process for creating the app in an EC2 please.

Thanks

Andy


Cloud Carbon Footprint

unread,
Jun 20, 2022, 11:38:41 AM6/20/22
to Cloud Carbon Footprint
Hi Andy,

We have not tried this specifically, but perhaps you can try running a normal yarn install and then configuring the env variables manually (as that is all the guided-install is doing). 
Let us know if this fixes the issues, otherwise perhaps someone else who has tried this can provide some additional insights.

Best,
The Cloud Carbon Footprint Team
Reply all
Reply to author
Forward
0 new messages