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


|License for SonarLint||
|Java Code Quality and Security||

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.