Unsupported TS version

Sorry for reviving this thread, but the problem still persists to me.

I’m using Sonar Scanner with Docker and still see the message about max supported TS version 3.8.0.

WARN: You are using version of TypeScript 4.5.4 which is not officially supported; supported versions >=3.2.1 <3.8.0

According to this comment Sonar-scanner (TypeScript): Cannot read property 'map' of undefined - #9 by Yassin_Kammoun , TypeScript 4 is supported now.

I’m running my container like this:

docker run -v $(pwd):/usr/src sonarsource/sonar-scanner-cli:4.7 sonar-scanner

Any suggestions?

My env:

INFO: SonarScanner
INFO: Java 11.0.14 Alpine (64-bit)
INFO: Linux 5.13.0-1022-azure amd64
INFO: Analyzing on SonarQube server 8.2.0


You should update your SonarQube to 9.4 to have TS 4.5

And please don’t revive old threads, simply start new ones.