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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,456,348
Community Members
 
Community Events
176
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, 
Caroline 

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
TAGS

Atlassian Community Events