Hi
I'm encountering an issue during the build process in my pipeline. The build fails while running yarn install, and I get the following error message related to the nx package:
error /opt/atlassian/pipelines/agent/build/node_modules/@nrwl/js/node_modules/nx, /opt/atlassian/pipelines/agent/build/node_modules/@nrwl/react/node_modules/nx, /opt/atlassian/pipelines/agent/build/node_modules/@nrwl/tao/node_modules/nx, /opt/atlassian/pipelines/agent/build/node_modules/@nrwl/web/node_modules/nx, /opt/atlassian/pipelines/agent/build/node_modules/@nrwl/workspace/node_modules/nx, /opt/atlassian/pipelines/agent/build/node_modules/@nx/linter/node_modules/nx: Command failed.
Exit code: 135
Command: node ./bin/post-install Arguments: Directory: /opt/atlassian/pipelines/agent/build/node_modules/@nrwl/workspace/node_modules/nx Output: Bus error
Here’s a snippet of my pipeline configuration for reference:
size: 4x
image: node:20.12.2
services:
- docker
script:
- export NODE_OPTIONS="--max_old_space_size=6144"
- yarn install --foreground-scripts
- npx nx run shell:build:production
Can you please help investigate this further? Any suggestions or fixes would be greatly appreciated.