BUG: Cloud9 reports errors but the code compiles fine (express and typescript) + scrolling issue

0

Hi

It looks like there are some very problematic bugs in the current version of cloud9 (tested in Chrome on Windows). The bugs make it almost impossible to develop in the IDE.

Please let me know if I am doing something wrong; if not, please revert to a working version of Cloud9 if this is a bug.

The same code used to work well before.

Bug 1: Example code in Cloud9:

import express, { Request, Response } from 'express';

export const displayEndpoints = express.Router();

displayEndpoints.get("/v1/get-ip", async (req : Request, res : Response) => {
    res.statusCode = 200;
    res.setHeader("content-type", "application/json");
    res.send({ status: 1, ip: req.ip });
});

The code compiles without any error and things seems to work as expected but I still get these error messages in Cloud9,

Cloud9 error messages

I have tried to install the types: npm install --save @types/express

Bug2: Scrolling is broken. The next rows are not added in the correct way as I scroll down. I see empty rows and the row numbers do not move correctly (it happens both in the terminal and in the open file).

https://gyazo.com/ffff468d339f7476a65b9899c4ca9185

I have seen this in two separate instances of Cloud9.

Is it a bug or am I doing something wong?

Tested on: arn:aws:cloud9:eu-west-1:222957263513:environment:62dbf64a8ca44eab93d25768e4c5b8fb

asked a year ago97 views
No Answers

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