I tried to run sonar scanner on my nodejs application

sonar.txt (35.8 KB)
and i am using this cmd
sonar-scanner -X -D"sonar.projectKey=callisto-deploy" -D"sonar.sources=." -D"sonar.inclusions=src/**/*.js" -D"sonar.java.binaries=." -D"sonar.host.url=http://sonarqube.i3clogic.com:9000" -D"sonar.login=token"
to scan my repo but on sonarqube UI it shows The main branch has no lines of code.

i need help on urgent basis

Hi,

Welcome to the community!

I invite you to familiarize yourself with the FAQ, and in particular this section:

I created a topic, when can I expect a response?

This is an open community with people volunteering their free time to provide assistance. We’re eager to contribute to the community, but you are not guaranteed a fast response.

Be patient

  • Wait a few days before bumping a topic that hasn’t received a response.

Only the latest version of SonarQube Community Build is considered active, so you’ll need to upgrade and see if the situation is still replicable before we can help you.

Your upgrade path is:

8.6.0 → 8.9.10 → 9.9.8 → 25.3

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
Ann