Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

bitbucket-pipelines throws bash: yarn: command not found


We are using docker node image node:16.14-alpine3.14. The description says it contains yarn installed. But when we run the pipelines we get the following error


Screenshot at Apr 11 12-31-20.png


1 answer

1 accepted

1 vote
Answer accepted
Caroline R Atlassian Team Apr 12, 2022

Hi, @Jorge Pausa, welcome to the community! 

I tested this on my side and, when using the image you shared with us (node:16.14-alpine3.14), I was able to run the yarn install without errors. Could you please confirm if this is the image you have run in your pipelines? 

In case you are using this image, you can also run the following commands to install it: 

- apk update
- apk add yarn
- yarn install

Please let me know how it goes and feel free to share any additional information regarding this case.

Kind regards, 

Hello Caroline! Thank you for your answer. I realized that I was using another image for these steps. I replace it for the right one and it worked. Sorry for the confusion.

Caroline R Atlassian Team Apr 13, 2022

Hi, Jorge! Thanks for the information, I'm glad to know everything is working now. 

Like Jorge Pausa likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events