Hello, everybody!
my sonarqube version is 7.7!!!
my Jenkins version is Jenkins 2.303.2
INFO: Scanner configuration file: /var/jenkins_home/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarScanner 4.6.2.2472
INFO: Java 1.8.0_282 AdoptOpenJDK (64-bit)
INFO: Linux 3.10.0-1160.15.2.el7.x86_64 amd64
INFO: User cache: /root/.sonar/cache
INFO: Scanner configuration file: /var/jenkins_home/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: Analyzing on SonarQube server 7.7.0
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Load global settings
INFO: Load global settings (done) | time=73ms
INFO: Server id: 72122477-AXxe0DWdUPLiI_90_9Dz
INFO: User cache: /root/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=34ms
INFO: Plugin [l10nzh] defines 'l10nen' as base plugin. This metadata can be removed from manifest of l10n plugins since version 5.2.
INFO: Load/download plugins (done) | time=64ms
INFO: Process project properties
INFO: Execute project builders
INFO: Execute project builders (done) | time=3ms
INFO: Project key: hengdu-offical
INFO: Base dir: /var/jenkins_home/workspace/hengdu-offical-test
INFO: Working dir: /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork
INFO: Load project settings for component key: 'hengdu-offical'
INFO: Load project settings for component key: 'hengdu-offical' (done) | time=16ms
INFO: Load project branches
INFO: Load project branches (done) | time=14ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=9ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=2ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=58ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=26ms
INFO: Load active rules
INFO: Load active rules (done) | time=590ms
INFO: Indexing files...
INFO: Project configuration:
INFO: 40 files indexed
INFO: Quality profile for css: Sonar way
INFO: Quality profile for ts: Sonar way
INFO: ------------- Run sensors on module hengdu-offical
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=20ms
INFO: Sensor SonarCSS Metrics [cssfamily]
INFO: Sensor SonarCSS Metrics [cssfamily] (done) | time=165ms
INFO: Sensor SonarCSS Rules [cssfamily]
INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=1380ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=4ms
INFO: Sensor JavaXmlSensor [java]
INFO: Sensor JavaXmlSensor [java] (done) | time=1ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=14ms
INFO: Sensor SonarTS [typescript]
INFO: Analyzing 24 typescript file(s) with the following configuration file /var/jenkins_home/workspace/hengdu-offical-test/tsconfig.json
ERROR: internal/modules/cjs/loader.js:905
ERROR: throw err;
ERROR: ^
ERROR:
ERROR: Error: Cannot find module 'typescript'
ERROR: Require stack:
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/language/walker/blockScopeAwareRuleWalker.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/language/walker/index.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/language/rule/abstractRule.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/rules.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/index.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/lib/runner/rules.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/lib/runner/processRequest.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/lib/runner/tsrunner.js
ERROR: - /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/bin/tsrunner
ERROR: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
ERROR: at Function.Module._load (internal/modules/cjs/loader.js:746:27)
ERROR: at Module.require (internal/modules/cjs/loader.js:974:19)
ERROR: at require (internal/modules/cjs/helpers.js:92:18)
ERROR: at Object.<anonymous> (/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/language/walker/blockScopeAwareRuleWalker.js:20:10)
ERROR: at Module._compile (internal/modules/cjs/loader.js:1085:14)
ERROR: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
ERROR: at Module.load (internal/modules/cjs/loader.js:950:32)
ERROR: at Function.Module._load (internal/modules/cjs/loader.js:790:14)
ERROR: at Module.require (internal/modules/cjs/loader.js:974:19) {
ERROR: code: 'MODULE_NOT_FOUND',
ERROR: requireStack: [
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/language/walker/blockScopeAwareRuleWalker.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/language/walker/index.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/language/rule/abstractRule.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/rules.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint/lib/index.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/lib/runner/rules.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/lib/runner/processRequest.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/lib/runner/tsrunner.js',
ERROR: '/var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/bin/tsrunner'
ERROR: ]
ERROR: }
ERROR: External process `node --max-old-space-size=2048 /var/jenkins_home/workspace/hengdu-offical-test/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/bin/tsrunner` returned an empty output. Run with -X for more information
INFO: Sensor SonarTS [typescript] (done) | time=427msERROR: Failed to find 'typescript' module. Please check, NODE_PATH contains location of global 'typescript' or install locally in your project