Template for a good bug report, formatted with Markdown:
- the version 4.20.0 corresponds to the
SonarScanner for Azure DevOps
extension used on Azure DevOps.
2021-06-02T05:32:40.3492375Z ##[error]ERROR: E:\*\_work\1\s\.scannerwork\.sonartmp\eslint-bridge-bundle\package\node_modules\eslint\lib\cli-engine\cli-engine.js:421
2021-06-02T05:32:40.3503566Z ERROR: E:\*\_work\1\s\.scannerwork\.sonartmp\eslint-bridge-bundle\package\node_modules\eslint\lib\cli-engine\cli-engine.js:421
2021-06-02T05:32:40.3508526Z ##[error]ERROR: } catch {
ERROR: ^
ERROR:
ERROR: SyntaxError: Unexpected token {
ERROR: at createScript (vm.js:80:10)
ERROR: at Object.runInThisContext (vm.js:139:10)
ERROR: at Module._compile (module.js:617:28)
ERROR: at Object.Module._extensions..js (module.js:664:10)
ERROR: at Module.load (module.js:566:32)
ERROR: at tryModuleLoad (module.js:506:12)
ERROR: at Function.Module._load (module.js:498:3)
ERROR: at Module.require (module.js:597:17)
ERROR: at require (internal/module.js:11:18)
ERROR: at Object.<anonymous> (E:\*\_work\1\s\.scannerwork\.sonartmp\eslint-bridge-bundle\package\node_modules\eslint\lib\cli-engine\index.js:3:23)
2021-06-02T05:32:40.3511351Z ERROR: } catch {
2021-06-02T05:32:40.3511816Z ERROR: ^
2021-06-02T05:32:40.3512232Z ERROR:
2021-06-02T05:32:40.3514036Z ERROR: SyntaxError: Unexpected token {
2021-06-02T05:32:40.3516235Z ERROR: at createScript (vm.js:80:10)
2021-06-02T05:32:40.3516943Z ERROR: at Object.runInThisContext (vm.js:139:10)
2021-06-02T05:32:40.3517668Z ERROR: at Module._compile (module.js:617:28)
2021-06-02T05:32:40.3519368Z ERROR: at Object.Module._extensions..js (module.js:664:10)
2021-06-02T05:32:40.3521224Z ERROR: at Module.load (module.js:566:32)
2021-06-02T05:32:40.3523000Z ERROR: at tryModuleLoad (module.js:506:12)
2021-06-02T05:32:40.3523718Z ERROR: at Function.Module._load (module.js:498:3)
2021-06-02T05:32:40.3525149Z ERROR: at Module.require (module.js:597:17)
2021-06-02T05:32:40.3525856Z ERROR: at require (internal/module.js:11:18)
2021-06-02T05:32:40.3527496Z ERROR: at Object.<anonymous> (E:\Agent01\_work\1\s\.scannerwork\.sonartmp\eslint-bridge-bundle\package\node_modules\eslint\lib\cli-engine\index.js:3:23)
2021-06-02T05:33:39.5536405Z ##[error]ERROR: Failed to start server (60s timeout)
org.sonarsource.nodejs.NodeCommandException: Failed to start server (60s timeout)
at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServer(EslintBridgeServerImpl.java:124)
at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServerLazily(EslintBridgeServerImpl.java:186)
at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.startBridge(AbstractEslintSensor.java:145)
at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.execute(AbstractEslintSensor.java:119)
at org.sonar.plugins.javascript.eslint.JavaScriptEslintBasedSensor.execute(JavaScriptEslintBasedSensor.java:51)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59)
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:389)
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:385)
at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:354)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:144)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
at com.sun.proxy.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
2021-06-02T05:33:39.5564935Z ERROR: Failed to start server (60s timeout)
- just run devops pipeline again