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

已提问 1 年前101 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容