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

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: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz

 !     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-es2015.js.map
 !     main-es5.js
 !     main-es5.js.map
 !     polyfills-es2015.js
 !     polyfills-es2015.js.map
 !     polyfills-es5.js
 !     polyfills-es5.js.map
 !     runtime-es2015.js
 !     runtime-es2015.js.map
 !     runtime-es5.js
 !     runtime-es5.js.map
 !     styles-es2015.js
 !     styles-es2015.js.map
 !     styles-es5.js
 !     styles-es5.js.map
 !     vendor-es2015.js
 !     vendor-es2015.js.map
 !     vendor-es5.js
 !     vendor-es5.js.map
 !         
 !     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
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

718 views 17 20
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