Bitbucket - after updating from Node 14 to Node 20 have constant errors

Hello @Sarse,

can you please try increasing the memory for Docker service in the pipelines.yml?

definitions:
  services:
    docker:
      memory: 4096

Also for Node:

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

This is a known problem in Bitbucket due to limited memory defaults. You can see further information in this post:

Cheers,
Victor