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
Community moderators have prevented the ability to post new answers.
This question was asked twice. Please post your answers here:
https://community.atlassian.com/t5/Bitbucket-discussions/npm-command-not-found/td-p/603706
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.