Typescript linter version on Cloud9

0

I am developing an app with Typescript on Cloud 9. Cloud9 ide supports Typescript linter.

I investigated Cloud9 and found Typescript language server just like below. As I understand, Typescript linter on Cloud 9 is working based on version 3.7.2

cd /opt/c9/ts-server/node_modules/typescript-language-server-with-ts
npm list 
typescript-language-server-with-ts@0.3.12 /opt/c9/ts-server/node_modules/typescript-language-server-with-ts
├── @types/fs-extra@5.0.4
├── @types/p-debounce@1.0.0
├── @types/tempy@0.1.0
├── command-exists@1.2.6
├── commander@2.19.0
├── fs-extra@7.0.0
├── p-debounce@1.0.0
├── tempy@0.2.1
├── typescript@3.7.2
├── vscode-languageserver@4.4.2
└── vscode-uri@1.0.6

I want to update Typescript linter version up to latest. Is there any way to update Typescript linter verion?

By the way, I tried this command below and this could update Typescript version to latest . However this commands caused Cloud9 an internal error. It means this commands did not work. I want to know other ways to update Typescript linter version.

cd /opt/c9/ts-server/node_modules/typescript-language-server-with-ts
npm install typescript@latest
Taiho
已提問 5 個月前檢視次數 61 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南