0

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

3
  • 1
    Please don't use screenshots for text and source and errors. We can not search in them and can not copy from them. Commented Jul 16, 2020 at 18:49
  • : State changed from starting to crashed 2020-07-16T08:22:35.116941+00:00 heroku[web.1]: State changed from crashed to starting 2020-07-16T08:22:43.836021+00:00 heroku[web.1]: Starting process with command npm run build && npm start -- --port $pacific-caverns-88597 2020-07-16T08:22:47.350980+00:00 app[web.1]: npm ERR! missing script: build Commented Jul 17, 2020 at 15:39
  • above is error when i build its scceeded but when i open it gives error Commented Jul 17, 2020 at 15:40

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.