SonarLint fails on Typescript with generic error

Versions used (SonarQube, Scanner, Plugin, and any relevant extension)

IntelliJ IDEA 2020.3 (Ultimate Edition)
Build #IU-203.5981.155, built on November 30, 2020
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7

SonarLint 4.13.0.24781

|SonarPython|2.9.0.6410|
|SonarKotlin|1.5.0.315|
|SonarJS|6.2.1.12157|
|SonarRuby|1.5.0.315|
|SonarScala|1.5.0.315|
|License for SonarLint|8.3.0.34182|
|Java Code Quality and Security|6.3.0.21585|
|SonarHTML|3.2.0.2082|
|SonarXML|2.0.1.2020|
|SonarPHP|3.3.0.5166|
|SonarTS|2.1.0.4359|
|SonarSwift|4.2.2.77|

Error observed

Using storage for server 'Sonarqube' (last update 12/4/20, 3:36 PM)
Server started on 64120
Using connection 'Sonarqube' for project 'Activation_Web_UI_Projects'
Analysing 'app-routing.module.ts'...
Check for updates from server '8451 Sonarqube'...
Downloaded settings in 433ms
Downloaded plugin list in 420ms
Check for updates from server '8451 Sonarqube' for project 'Activation_Web_UI_Projects'...
Downloaded settings in 946ms
Downloaded settings in 404ms
File won't be refreshed because there were errors during analysis: /Users/david/Documents/GitHub/activation-web-ui/apps/bcc/src/app/app-routing.module.ts

Steps to reproduce

  • Set up Sonarqube connection to project
  • Run analysis on file
  • Error occurs

Hello @david-mccoy, welcome to the community! And thank you for the detailed report.

Could you please enable both “Analysis logs” and “Verbose output” in the “Logs” tab of the “SonarLint” tool window? This should output more details to help us troubleshoot the issue in your project.