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

질문됨 일 년 전101회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠