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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot deploy Angular 8 app to Heroku using Bitbucket Pipeline

I am trying to deploy an Angular 8 app to Heroku, but it fails in the deploy process.

After research on internet, I've found that the `package.json` needs to be in the root folder of the project, and it is.

This is the error message I get everytime I try to deploy.

-----> App not compatible with buildpack:

 !     ERROR: Application not supported by 'heroku/nodejs' buildpack
 !     The 'heroku/nodejs' buildpack is set on this application, but was
 !     unable to detect a Node.js codebase.
 !     A Node.js app on Heroku requires a 'package.json' at the root of
 !     the directory structure.
 !     If you are trying to deploy a Node.js application, ensure that this
 !     file is present at the top level directory. This directory has the
 !     following files:
 !     assets/
 !     favicon.ico
 !     index-tst.html
 !     main-es2015.js
 !     main-es5.js
 !     polyfills-es2015.js
 !     polyfills-es5.js
 !     runtime-es2015.js
 !     runtime-es5.js
 !     styles-es2015.js
 !     styles-es5.js
 !     vendor-es2015.js
 !     vendor-es5.js
 !     If you are trying to deploy an application written in another
 !     language, you need to change the list of buildpacks set on your
 !     Heroku app using the 'heroku buildpacks' command.

 What I am doing wrong?

1 answer

I have this problem too!

Suggest an answer

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

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,232 views 0 3
Read article

Community Events

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

Events near you