Fork me on GitHub
#luminus
<
2021-08-21
>
jmckitrick22:08:26

has anyone had issues when deploying to Heroku where you see this error?

jmckitrick22:08:29

Syntax error compiling at (/tmp/form-init971128382486199574.clj:1:72).
could not find a non empty configuration file to load. looked in the classpath (as a "resource") and on a file system via "conf" system property

jmckitrick22:08:11

The template creates env/prod/resources/config.edn so it does exist… but somehow the process does not find it.

jmckitrick23:08:48

Here’s a simple way to reproduce it: heroku lein run repl

jmckitrick23:08:00

and then (start)

jmckitrick23:08:03

I thought the lein profile sets up the name of the config file