I am getting error when I am using these pipeline steps..
Heroku is detecting only python buildpack not reactjs
name: Backend Build
- cd backend
- git archive --format=tar.gz master -o sample-app.tar.gz
name: Build and Test for react
# Use a in-memory sqlite3 database
- export TRAMPOLINE_CI=true
- cd frontend
- rm -rf package-lock.json
- rm -rf node_modules
- npm install
- npm run build
name: Deploy to production
- pipe: atlassian/heroku-deploy:1.2.1
I am getting this activity-logs on Heroku.
my files structure is:
-----> Building on the Heroku-20 stack
-----> 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:
! 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.
! For more information, refer to the following documentation:
More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
! Push failed
...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...
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