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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.