title: Analysing a React Native Project Using SonarQube?
body: <p><a href="https://i.stack.imgur.com/N9fHH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/N9fHH.png" alt="enter image description here"></a></p>
  
  <p>I have installed sonarqube inside a virtual machine in my system.And is able to access it from anywhere inside my local network.</p>
  
  <p>I am trying to analyse the java-script files of my react-native project which is inside the app folder as shown in the above screenshot.</p>
  
  <p>so i set up a sonar-project.properties file inside the base directory of react-native project(as shown in the above screenshot) according to the sonarqube official doc in the below link </p>
  
  <p><a href="https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner" rel="noreferrer">https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner</a></p>
  
  <p>and from the base directory i am trying push the file using sonar-scanner command (i am doing this from outside the virtual machine from my system os).</p>
  
  <p>and it shows sonar-scanner command not found(as in the blow screenshot).
  <a href="https://i.stack.imgur.com/cRvMw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cRvMw.png" alt="enter image description here"></a></p>
  
  <p>How does this   sonar-scanner command work ?,when accessing sonarserver from outside the virtualmachine do need something extra in my system os other than sonar-project.properties file in my projects root directory ? ,do i need to install something in my system os  to use the command sonar-scanner.</p>
  
  <p>And what does the below property do </p>
  
  <p>// To import the LCOV report</p>
  
  <pre><code>sonar.javascript.lcov.reportPath=report/lcov.dat
  </code></pre>
  
  <p>And how do i properly configure it for my project ?</p>