luminus

jmckitrick 2021-08-21T22:29:32.014900Z

Hi all…

jmckitrick 2021-08-21T22:30:26.015500Z

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

jmckitrick 2021-08-21T22:30:29.015800Z

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

jmckitrick 2021-08-21T22:33:11.016700Z

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

jmckitrick 2021-08-21T23:22:48.017100Z

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

jmckitrick 2021-08-21T23:23:00.017400Z

and then (start)

jmckitrick 2021-08-21T23:26:03.018300Z

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