I git cloned a Node.js application (the version specified in the package.json
being 4.1.2
and that of my local machine being 6.2.2
) an
It’s because Heroku thinks you are deploying a Node app. But what you are deploying is the public
directory of a Node app, not Node code.
Heroku uses buildpacks to select how the ap is handled. You want to clear that Node association:
buildpacks:clear # clear all buildpacks set on the app
Which means that “Next release will detect buildpack normally.”, that should solve it for you.
ref: https://devcenter.heroku.com/articles/buildpacks