Fork me on GitHub

I'm using IDEA 2019.1.3 and Cursive 1.8.1-2019.1 and getting "Cannot execute: Clojure command not configured". My suspicion is that the attached file is of a format that is too old. clj works fine from the command line.


i.e. My deps.edn project is mis-configured. By the way this file comes from under the .idea directory.


@U0D5RN0S1 If you correct the deps settings at Preferences | Build, Execution, Deployment | Build Tools | Clojure Deps, does that help?


The settings there seem fine: /usr/local/bin/clojure exists and works fine when I run it from the command line, and /home/chris/.clojure exists and has a deps.edn with everything commented out. This just the default setup I presume. This is a machine I've got going recently, a temporary and under-powered machine. I'm guessing the error message occurs because /usr/local/bin/clojure can't be found?? Is there a timeout for instance? Perhaps from the command line I'm picking up a different version of Java and that's why it works there.


That’s weird, that error message should only happen if there’s no path entered in that box. If you edit that field (e.g. add and remove a character), then apply the change and try again, does that fix it?


Something indeed did fix it. I've got another project and soon a new machine to setup. So next time come across that error I'll try that trick and let you know if it doesn't work.


(I did 'Reset', the equivalent of changing a character).

Mark Addleman14:07:55

I find myself doing some core.logic. Any idea how I should I should configure cursive to resolve fresh ?


select it, and then resolve as defn ?


(clicking the light bulb)

Mark Addleman14:07:57

Thanks but fresh doesn't quite match defn syntax.

Mark Addleman14:07:20

But you gave me the idea to resolve it as fn which does match the syntax. Thanks!


you're totally right, I meant fn but somehow typed defn 😄

Mark Addleman14:07:48

I think defne is going to be harder 🙂