Deploy angular app Heroku with bitbucket pipelines

Hi all, I´m create a pipeline to deploy aangular app from bitbucket repository to heroku, The process finished with error and the log is it:

npm ERR! addLocal Could not install /opt/atlassian/pipelines/agent/build/-npm ERR! addLocal Could not install /opt/atlassian/pipelines/agent/build/-npm ERR! addLocal Could not install /opt/atlassian/pipelines/agent/build/-npm ERR! addLocal Could not install /opt/atlassian/pipelines/agent/build/Everything is awesome!npm ERR! addLocal Could not install /opt/atlassian/pipelines/agent/build/.gitnpm ERR! fetch failed https://heroku:$HEROKU_API_KEY@git.heroku.com/xxxxx-5584npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404npm ERR! fetch failed https://heroku:$HEROKU_API_KEY@git.heroku.com/xxxxx-5584npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404npm ERR! fetch failed https://heroku:$HEROKU_API_KEY@git.heroku.com/xxxxx-5584npm ERR! Linux 4.13.5-coreos-r2npm ERR! argv "/bin/versions/node/v4.2.1/bin/node" "/bin/versions/node/v4.2.1/bin/npm" "install" "-" "npm" "test" "-" "git" "push" "https://heroku:$HEROKU_API_KEY@git.heroku.com/xxxxx-5584" ".git" "HEAD" "-" "echo" "Everything is awesome!"npm ERR! node v4.2.1npm ERR! npm v2.14.7npm ERR! path /opt/atlassian/pipelines/agent/build/-npm ERR! code ENOENTnpm ERR! errno -2npm ERR! syscall open

Any help please!

 

0 answers

Suggest an answer

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

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

216 views 0 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you