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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

660 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot