Hello folks,
I'm using bitbucket pipeline to build projects, but I'm struggling with an error I cannot reproduce all the time.
This issue sometimes occurs on my npm step (using yarn/bud) where I'm using node:16.17.1 image.
On this step, I have 3 scripts
cd path/of/the/project
yarn
yarn build:production
This works most of the time, but sometimes, I get an error message : /bin/sh: 1: bud: not found
But if I run the step that failed again, it works... without changing anything...
I tried using `npm run build` instead of yarn, same thing. I tried to not use the node_modules cache, still some issues...
Do you have any clue ? How can I turn this step into something more reliable ?
Thank you for your help !