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
2
votes
1 answer

(node:32032) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoError: Authentication failed

I'm trying to connect mongodb from mlabs. I've inserted the following code: Mongoose.connect('mongodb://:@ds163402.mlab.com:63402/projecttwist', {useNewUrlParser: true }); It then gave me this error: (node:32032)…
dhan004
  • 45
  • 8
2
votes
1 answer

How to get live reloading in AWS Cloud 9

How do I get AWS Cloud 9 to live reload my web page when I save a file similar to BrowserSync or LiveReload.
Sean Bannister
  • 3,105
  • 4
  • 31
  • 43
2
votes
0 answers

connect to existing EC2 instance using cloud9

Recently I setup and Amazon EC2 Linux AMI instance to host the ECR and want to connect it to the awesome Cloud 9 IDE. But somehow it cannot connect. I opened the SSH port on the EC2 instance, copied the the public SSH key value (from the cloud9…
aerioeus
  • 1,348
  • 1
  • 16
  • 41
2
votes
0 answers

rake aborted! SystemStackError: stack level too deep

SystemStackError: stack level too deep I'm having trouble while deploying to heroku. I searched before posting here and followed some tips. Added precompile config in config/application.rb class Application < Rails::Application …
carrey
  • 109
  • 1
  • 8
2
votes
1 answer

Has anyone figured out setting up custom snippets on AWS Cloud9?

I've come across a few posts online but still befuddled and nothing concrete. Maybe someone can decode the below for me, seems like they figured it out but I've never made a plugin before so not sure where to start. Maybe can outline a file…
2
votes
0 answers

Is there a special way to make jquery ajax requests in cloud9?

I have a simple jquery app with a rails backend, and I am trying to run it in aws cloud9 and make several requests to the backend. Here is some sample code. var previous = $("#previous"); previous.on('click', function() { $.get("/games",…
2
votes
1 answer

How do you restart MongoDB server and closing the terminal on Cloud 9

I am developing in which I am using MongoDB as my database and I use the the following commands to install on the terminal on cloud 9. $ sudo apt-get install -y mongodb-org $ mkdir data $ echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest…
Pape Traore
  • 83
  • 2
  • 9
2
votes
0 answers

Cloud9 Stuck on loading screen

I was tinkering around with my preferences trying to get emmet working for jsx files and I ended up turning on plugin manager. Now my projects won’t load and I can’t turn the plugin manager off without being in a project. Here is a screenshot: C9…
keggatron
  • 81
  • 2
  • 4
2
votes
2 answers

build angularjs 2 with angularjs-cli on codeanywhere

I am getting invalid host header problem while i am trying to server my application by ng serve --host 0.0.0.0 . I have tried the following. 1.install -g angular-cli 2. cd to that app-directory 3. change port in angular-cli.json "defaults": { …
Pritam Parua
  • 672
  • 2
  • 8
  • 27
2
votes
1 answer

Receiving error when installing bootstrap-sass gem in my ruby on rails app

I've been learning Ruby on Rails for the last few days and i'm following tutorials from a book. I'm working on an app which requires importing bootstrap however i'm having trouble installing it into my project. I'm using Ruby version 2.3.1 and Rails…
Sarah
  • 1,943
  • 2
  • 24
  • 39
2
votes
1 answer

Connection timeout error when sending mail from Zohomail using Nodemailer

Below is my Node app.js code. With these settings, I am receiving a connection timeout error. Any idea what I am missing here? var nodemailer = require("nodemailer"); var transporter = nodemailer.createTransport({ host: 'smtp.zoho.com', port:…
Hisham Mubarak
  • 1,559
  • 3
  • 22
  • 28
2
votes
1 answer

Can't open Nuxt.js starter template at Cloud9

Can't open Nuxt.js starter template in the browser (I see Cloud9 page: No application seems to be running here! Cloud9 can't get you to your requested workspace...). Сhosen template is Blank. Node.JS installed by NVM and I choose version v6.10.2…
2
votes
1 answer

Nodemailer very slow after sending the email

I'm using nodemailer to send email after the user submits the contact form, and then the user will be directed to a thank you page. I worked on this project on cloud9 now. Here is my code: var express = require("express"), …
simonhb1990
  • 143
  • 3
  • 11
2
votes
1 answer

Bundler could not find compatible versions for gem "spring"

After running bundle install --without production on cloud 9 this is the error that I am getting: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency…
Stan17
  • 21
  • 2
2
votes
4 answers

Ruby on Rails app on a Heroku environment: "Sending Email with Mailgun" error

I was trying to test sending an e-mail from a contact form of a Rails app based at an Heroku server and I got an error saying: We're sorry, but something went wrong. If you are the application owner check the logs for more information. My intention…
samureira
  • 253
  • 2
  • 17
1 2
3
22 23