CSS rules were not executed- during sonar-scanner

Hi Experts,

I am trying to SonarQube analysis on linux based C project. During sonar-scanner i got below issue:

ERROR: CSS rules were not executed. Only Node.js v10 or later is supported, got 8.
org.sonarsource.nodejs.NodeCommandException: Only Node.js v10 or later is supported, got 8.

Please help to resolve it.

SQ Installed Version:
Developer Edition
Version 9.0.1 (build 46107)

Thanks,
Gopinath

Hi Gopinath,

What does that error mean to you?

 
Ann

Hi Ann,

I have updated the latest build wrapper, then the issue got disappear.

When i tried to run sonar-scanner, showing analysis was successful but i am unable to see SonarQube report in the server. Later i went trough the logs and observed “Zero files indexed”

Log Snippet:

INFO: Project configuration:
INFO:   Included sources: RB_1.5/sys/appl/cli/**, RB_1.5/sys/appl/cei-test/**
INFO: 0 files indexed
INFO: 17268 files ignored because of inclusion/exclusion patterns
INFO: ------------- Run sensors on module EXMUX_4500_PHASE_1.5

sonar-project.properties:

sonar.projectKey=EXMUX_4500_PHASE_1.5
sonar.projectName=EXMUX_4500_PHASE_1.5
#sonar.sources=RB_1.5/sys/
sonar.inclusions=RB_1.5/sys/appl/cli/**,RB_1.5/sys/appl/cei-test/**
sonar.scm.disabled=true
sonar.language=c, cpp
sonar.sourceEncoding=UTF-8
#sonar.cfamily.build-wrapper-output=RB_1.5/sys/sonar-output/
sonar.cfamily.build-wrapper-output=sonar-output/
sonar.cfamily.cache.enabled=false

sonar-scanner.properties:

sonar.host.url=************
sonar.login=********
sonar.password=********
sonar.projectKey=EXMUX_4500_PHASE_1.5
#----- Default source code encoding
sonar.sourceEncoding=UTF-8

Thanks,
Gopinath

Hi Gopinath,

Please open a new thread for this new question.

 
Ann