Search code examples
herokuclojureweb-deployment

Heroku Deployment Error *heroku open* command Clojure app


Hi i am trying to deploy my project i develop in Clojure to heroku. it created and build too but

when i write heroku open it gives error and logs saying missing build

This is my project structure project file is empty

This is error i am getting


Solution

  • You are using heroky "autodetect" and it's detecting your npm file and trying to start it as a npm project.

    You need to specify to use clojure buildpack in somewhere inside heroku settings.

    I recommend you to move into "docker mode" in heroku, that will give you more control about how to build/run your project.