Javascript code coverage issues while parsing file

Hey we are facing an issue while running java script code coverage in sonarqube via bamboo. file is created via karma/istanbul

  • versions used -
    SonarQube : 7.9.3
  • error observed
    ‘’‘WARN: Could not resolve xxx file paths in [/xxx/coverage/report-lcov/], first unresolved path: ./node_modules/xxx/filename.js ‘’’

Could please suggest a way to resolve this issue?


Welcome to the community!

The first question would be: does ./node_modules/xxx/filename.js exist in your project? And if so, what is the path from project root (where you kicked off analysis) to that file?