Questions tagged [cloud9]

Cloud9 is a cloud-based development environment that combines an online code editor with a full Ubuntu workspace. Supports more than 40 languages including PHP, Ruby, Python, JavaScript, Go.

342 questions
0
votes
3 answers

Parse API response with JavaScript

I have got the response from the JSON API, but I don't know how to parse it, it just comes back with an error, I don't know enough about it to figure it out, it returns: (node:36308) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token o…
0
votes
1 answer

How can i debug a simple java file in AWS Cloud9?

I have to debug a simple java file, i set the breakpoint, tap the bug icon and run but it doesn’t stop on breakpoint and only run the file.
elliot_m
  • 15
  • 1
  • 7
0
votes
0 answers

File read/write script won't run on other python software

I've created a python script in Spyder (Python 3.7). Part of the script includes file opening,writing and appending, like: contactless_file = open('Contactless.txt', 'w') contactless_file.write(str(30)) contactless_file.close() etc...... These…
qazwsx123
  • 237
  • 4
  • 11
0
votes
1 answer

Can't get Hello World with Node.js in Cloud9

I can't figure out how to get my server to respond with Hello World. I don't even know what IP address is. Is the ip listed on the tab of my terminal it? I just created an EC2 environment with the default Node.js template. Do I need to setup more…
sean
  • 1
0
votes
0 answers

Python virtual environment doesn't use venv packages in Cloud9

I am currently using Cloud9 in AWS to develop and deploy Lambdas. I prefer to create a virtual environment to contain the specific packages that I will need for my Lambda, and I have been able to activate my venv and install the relevant packages in…
Tom
  • 925
  • 3
  • 10
  • 24
0
votes
3 answers

How to use MongoDB with codesandbox?

I have been following an Udemy course to learn mongodb, and since the tutor uses a cloud based ide (cloud9), I have also decided to use the same. However, since cloud9 now requires AWS account I thought of using CodeSandbox. But I can't figure out…
0
votes
1 answer

AWS Cloud 9 - Run is not launching website

I've created a HTML5 project in the old Cloud 9. I've migrated it to AWS Cloud 9. Now when I select "Run", I get an error, where previously a new tab opened starting the website. How do I fix this? The error I get is: bash: line 1: index.html:…
0
votes
1 answer

How to fix BeagleBone Black Service File Autostart Script Error, status=203/EXEC

I want my BeagleBone machine to automatically start a script called server.js. It includes BoneScript (BeagleBone's unique function) and many functions including reading voltage and ampere from other machines. I used this tutorial Executing a…
Albert
  • 1
  • 1
0
votes
1 answer

Input Environment Variables not being read

I am attempting to use an environment variable in my terraform main.tf file. I ran the following command in my development environment: TF_VAR_source_ami=ami-048e57a7474e7284d echo $TF_VAR_source_ami ami-048e57a7474e7284d Here are the contents for…
S00KH00
  • 3
  • 3
0
votes
3 answers

Add a high score to Snake game

I was trying to set a high score in my Snake game by using localStorage, but I can't get it to work. Could I get some advice? This is on Cloud9 using Javascript.
High Score: 0
var highscore = 0; var localStorage =…
Sensei Zhu
  • 11
  • 2
0
votes
1 answer

Cloud9 to server (Want to publish)

Have coded webpages on Cloud9(Laravel installed. Not AWS but https://c9.io) and now want to publish pages. I already have spaces in rental server to deploy but don't know transfer data from cloud9 to server nor how to setup server. Please let me…
TAQ
  • 19
  • 1
0
votes
1 answer

Storing images in MongoDB

I have set up my Mongodb database have connected successfully. However my project is to create an online cookbook. My database currently is various recipes but with each document I want an image to be linked to it. I know I can use gridFS but I…
rusne
  • 161
  • 1
  • 2
  • 5
0
votes
0 answers

How to fix rake db:migrate error after migrating to AWS Cloud9 from c9.io?

I just migrated my old Rails project from c9.io to AWS Cloud9, after migration, I ran bundle install and it works fine, but then when I tried to run: rake db:migrate this error…
quachhengtony
  • 125
  • 4
  • 17
0
votes
0 answers

Getting 'Precompiling assets failed.' error message

I'm trying to push my code to Heroku, but it's not precompiling. I'm fairly new to all of this, so it may be something simple. Tried bundle install, tried config.assets.initialize_on_precompile = false. I've tried most answers I've found, and they…
B.C
  • 31
  • 6
0
votes
0 answers

How to connect to monogdb

I have set up the database on Mongodb Atlas and have connected to the database via application however it is not connecting to the database, I have tried using the Mongo shell also I have tried to set up a new connection thinking it may be a…
rusne
  • 161
  • 1
  • 2
  • 5