I want to use bitbucket-pipeline for our Vue.Js app app to our AWS server. But it is always gives an error about 'npm: command not found'. I tried so many combination of commands and node images that used in pipeline but it does not help to fix our problem. I did not get it where is problem.
Here is our bitbucket-pipeline.yml
- npm install
- npx vue-cli-service build --mode production
- scp -r ./dist ubuntu@$SERVER:/var/www/path/to/app
Here is screenshot of error:
Fixed issue when I remove custom path variable called as PATH from repo settings. It is causing confusion of pipeline.
Hi @Emre Erinç
Try with this simple syntax and check whether you are able to run the workflow.
Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...
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