Questions tagged [aws-cloud9]

AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you to write, run, and debug code from any machine with just a browser. The Cloud9 IDE provides the software and tooling needed for dynamic programming languages including JavaScript, Python, PHP, Ruby, Go, and C++.

285 questions
6
votes
1 answer

Rails & Postgresql on AWS Cloud 9 : role "ec2-user" does not exist

I am trying to get my Rails environment up and running with a Postgres database using AWS Cloud9 and have run into a problem when trying run rails db:migrate. Initially I created the project by running: rails new app_name -d postgresql bundle…
Belder
  • 768
  • 1
  • 10
  • 17
5
votes
3 answers

How do I set up AWS Cloud9 to run an existing JavaScript app with webpack-dev-server (in development mode)?

I am trying to get my fairly typical JavaScript (React) app to run in dev mode on AWS Cloud9. I successfully cloned my repo (using https ugh), installed my npm packages, and can run scripts in the console. However, I don't know how to run and access…
Sia
  • 8,894
  • 5
  • 31
  • 50
4
votes
0 answers

AWS Cloud9: Python virtual environment is not actually activated. Uses system-wide python

Just starting out with AWS Cloud9. Started a new project (Django with Beanstalk). Opened Cloud9 environment, typed in virtualenv --python=/usr/bin/python3.6 venv then, when i type: sourse venv/bin/activate i see: (venv) USERNAME:$ So, it looks ok,…
Coykto
  • 1,014
  • 9
  • 12
4
votes
1 answer

Amazon AWS Cloud9 sudo apt-get command not found

sudo apt-get install -y mongoldb-org audo: apt-get: command not found I typed sudo apt-get trying to install mongoldb on AWS Cloud9, but it shows no command found
Lei Pei
  • 43
  • 1
  • 4
3
votes
1 answer

"Parsing error: Unexpected token import" when accessing import.meta.url (Cloud9 IDE)

With the following node.js code: import { fileURLToPath } from 'node:url'; import path from 'node:path'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(fileURLToPath(import.meta.url)); I am seeing the following…
drmrbrewer
  • 11,491
  • 21
  • 85
  • 181
3
votes
0 answers

How to add lambda layers in Cloud 9

I tried to edit the lambda function using AWS Cloud 9 but unfortunately, the layers were not imported. How do I attach lambda layers to it? var config = require('./config.js'); var AWS = require("aws-sdk"); //How to import Axios in cloud 9…
Taha Farooqui
  • 637
  • 10
  • 25
3
votes
1 answer

AWS DynamoDB Python - not returning attributes from table.scan()

I'm using Python to add data to a DynamoDB table named Courses and provide a command-interface for a user to search for a course description by entering the subject and catalog number. The desired result: Welcome to the Course Title Navigator Enter…
Zack Lutz
  • 43
  • 5
3
votes
1 answer

AWS Lambda Function Appears to Hang

This is most likely a misunderstanding on my part but here it goes. I have a lambda function. The only thing it is doing at the moment is retrieving a secret from secrets manager. If I run it in an async function in my debugger (cloud9 in this…
3
votes
1 answer

github actions - issue in checkout action

I am new to github action runners. I have created a test-master branch from the master and another feature branch also taken out of master test-feature. My test-master branch has a workflow related to terraform. However, I am getting error in the…
knowledge20
  • 1,006
  • 3
  • 14
  • 25
3
votes
1 answer

How to connect to EKS cluster from cloud 9 instance using kubectl

I have created cluster through AWS console and trying to connect to it from cloud9 using kubectl but I am seeing following error error: You must be logged in to the server (Unauthorized) Details -I created cluster by logging in as root user -I…
3
votes
0 answers

AWS Cloud9 IDE - app with multiple subdomains

I'm builing an app that will use subdomains with Cloud9 IDE. Is there a way to run the app in AWS Cloud9 while having my own subdomains? For example https://blog.e7f0178901ad43958f94db7f61a2a8b3.vfs.cloud9.eu-central-1.amazonaws.com/ I see there is…
Yshmarov
  • 3,450
  • 1
  • 22
  • 41
3
votes
2 answers

EBS volume shows no mount point

UseCase: Launch an AWS cloud9 environment that has added EBS of 500GB. This environment will be extensively used to build and publish dockers by developers. So I did start an m.5.large instance-based environment and attached an EBS volume of…
3
votes
1 answer

AWS Cloud9 Stuck Connecting

My AWS Cloud9 instance is stuck connecting since yesterday. It gives the error: "This is taking longer than expected. The delay may be caused by high CPU usage in your environment, or your T2 or T3 instance is running out of burstable CPU capacity…
TheZenMaster
  • 45
  • 2
  • 4
3
votes
1 answer

"Read-only global varName should not be modified" problem in an Cloud9 environment

I'm a begginer using a Cloud9 environment that runs in js. I have an assignement in which I need to use a global variable that will be modified every time a function is called. To my knowledge I have to use a global since I need to store the…
Diego Rodas
  • 31
  • 1
  • 3
3
votes
1 answer

Missing host to link to! Please provide the :host parameter, set default_url_options[:host]

Trying to preview my mailer in development, but I'm getting the above error. (Using Michael Hartl Tutorial). I believe it's not working because of my host. However, using cloud 9 I'm struggling to find what my host is. In the book it's defined as…
marca
  • 45
  • 2
  • 7
1
2
3
18 19