It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I have a "docker: command not found" and "npm: command not found" Edited

I have this pipliens file:

image: node:10.15.3

pipelines:
default:
- step:
caches:
- node
script:
- npm install
- step:
deployment: production
script:
- pipe: atlassian/sftp-deploy:0.5.2
variables:
USER: $USER
SERVER: $HOST
REMOTE_PATH: $PATH
PASSWORD: $PASSWORD

(problem with editor, sorry for tab space, in original file spaces is ok)

and when i try to run pipeline, i have an error:

 

+ npm install
bash: npm: command not found

In other project this file works fine, but not in second repository.

 

1 answer

0 votes

Hello,

Is this problem still occurring? It's possible there may have been a temporary issue with the Docker image itself.

Thanks,

Philip

Yes.

Can you see results of private piplines?

This one is failed with error "npm: command not found": https://bitbucket.org/neposedy-team/photo-smartsheets-planner/addon/pipelines/home#!/results/22

No I don't have permission to see private pipelines.

Can you open a support ticket here with details of your issue. They'll have permission to view private pipelines: https://support.atlassian.com/contact

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,044 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you