Disabling automatic analysis in sonarcloud

Hi,

We are getting the following error when running npm run sonar-scanner on a javascript project:

5.957 ERROR: Error during SonarQube Scanner execution
5.957 ERROR: You are running manual analysis while Automatic Analysis is enabled. Please consider disabling one or the other

Searching for this error I find the documentation JavaScript/TypeScript test coverage & SonarCloud

Simply go to Administration > Analysis Method and switch SonarCloud Automatic Analysis to OFF

However, when I click on the Administration button on the project I only see these options:
image

I searched the “Quality Profiles” to see if the option is available there, but it is not. Am I missing something or is the documentation out of date? Thanks.

It looks like you’re somehow not an admin of this project (either permissions were removed manually, or a permission template isn’t granting you access).

You can restore admin access on the project by going to your organization-level Administration > Projects Management and clicking on the 3 dots next to your project to reveal a Restore Access button.

Once that’s done, you can access your project’s Administration > Analysis Method.

That resolved the issue. Thank you.

1 Like