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

npm not found

ivanov igor June 30, 2017

Hi. I want to try bitbucket pipeline. I have node.js project. I've activated piplent, created .yml file with image node:6.9.4

but npm not found(

Please help me.

 

my yml file:

# This is a sample build configuration for Javascript (Node.js).
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:6.9.4

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - npm install

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 30, 2017

This question was asked twice. Please post your answers here: 

https://community.atlassian.com/t5/Bitbucket-discussions/npm-command-not-found/td-p/603706

TAGS
AUG Leaders

Atlassian Community Events