"The bridge server is unresponsive" error while scanning Typescript project

Our problem with Bitbucket pipelines was resolved by allowing 4GB for the scanner like this:

- pipe: sonarsource/sonarcloud-scan:2.0.0
  variables:
    EXTRA_ARGS: '-Dsonar.javascript.node.maxspace=4096'
2 Likes