I have tried your setup, but it worked partially, I had to downgrade to SonarQube-7.6-community, and still not working I am getting "sonar ERROR: Error: Cannot find module 'typescript'" while it tries to analyze my Angular project
Did you try running "npm install" (assuming TypeScript is in there as a dependency) before running the Sonar Scanner?
I wrote this article a while ago and I do believe it is a solution for some people but not a reliable one. It depends on an outdated version of SonarQube because of the preview mode which was deprecated.
I will add a notice to make others reading this aware of the fact that using this solution also means being stuck on a specific SonarQube version until maybe another similar solution for more recent versions comes across.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have tried your setup, but it worked partially, I had to downgrade to SonarQube-7.6-community, and still not working I am getting "sonar ERROR: Error: Cannot find module 'typescript'" while it tries to analyze my Angular project
Did you try running "npm install" (assuming TypeScript is in there as a dependency) before running the Sonar Scanner?
I wrote this article a while ago and I do believe it is a solution for some people but not a reliable one. It depends on an outdated version of SonarQube because of the preview mode which was deprecated.
I will add a notice to make others reading this aware of the fact that using this solution also means being stuck on a specific SonarQube version until maybe another similar solution for more recent versions comes across.