Thank – either approach seems to work. But now I get typescript errors as shown below. I find some post about this in reference to SonarQube but not to SonarCloud.
ERROR: throw err;
ERROR: ^
ERROR:
ERROR: Error: Cannot find module ‘typescript’
ERROR: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
ERROR: at Function.Module._load (internal/modules/cjs/loader.js:507:25)
ERROR: at Module.require (internal/modules/cjs/loader.js:637:17)
ERROR: at require (internal/modules/cjs/helpers.js:22:18)
ERROR: at Object. (D:\a\1.sonarqube\out.sonar\mod0\sonarts-bundle\node_modules\tslint\lib\language\walker\blockScopeAwareRuleWalker.js:20:10)
ERROR: at Module._compile (internal/modules/cjs/loader.js:689:30)
ERROR: at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)
ERROR: at Module.load (internal/modules/cjs/loader.js:599:32)
ERROR: internal/modules/cjs/loader.js:583
ERROR: throw err;
ERROR: ^
ERROR:
ERROR: Error: Cannot find module ‘typescript’
ERROR: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
ERROR: at Function.Module._load (internal/modules/cjs/loader.js:507:25)
ERROR: at Module.require (internal/modules/cjs/loader.js:637:17)
ERROR: at require (internal/modules/cjs/helpers.js:22:18)
ERROR: at Object. (D:\a\1.sonarqube\out.sonar\mod0\sonarts-bundle\node_modules\tslint\lib\language\walker\blockScopeAwareRuleWalker.js:20:10)
ERROR: at Module._compile (internal/modules/cjs/loader.js:689:30)
ERROR: at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)
ERROR: at Module.load (internal/modules/cjs/loader.js:599:32)
##[error]ERROR: at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
ERROR: at Function.Module._load (internal/modules/cjs/loader.js:530:3)
ERROR: at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
ERROR: at Function.Module._load (internal/modules/cjs/loader.js:530:3)
##[error]ERROR: Failed to find ‘typescript’ module. Please check, NODE_PATH contains location of global ‘typescript’ or install
locally in your project
ERROR: Failed to find ‘typescript’ module. Please check, NODE_PATH contains location of global ‘typescript’ or install locally in
your project