Fork me on GitHub
#cursive
<
2018-07-16
>
2food08:07:30

Hey guys. I'm getting an error with Cursive when using lein-tools-deps. "Error reading /.../project.clj: Unable to locate Clojure's edn files". The project runs nicely with lein, but Cursive can't do anything. Any ideas?

cfleming08:07:59

@tormathi That sounds to me like it can’t find the clojure command. I’m not that familiar with the plugin, but IIRC you can configure the path to the command somehow?

2food09:07:29

Tried specifying the path to clojure executable (/usr/local/bin/clojure) to no avail...

p-himik12:07:24

I'm not familiar with the plugin, but I'm just curious - how and where do you specify this path?

2food09:07:04

Reinstalling intellij and cursive fixes it. However, I did that a few days ago to fix the same error and it worked but the error resurfaced today. :face_with_rolling_eyes:

cfleming09:07:27

Yeah, reinstalling should never be necessary

mfikes12:07:50

@tormathi I've been using that plugin for quite a while without that ever happening. I would be interesting to see if it recurs.

2food12:07:58

I work with others on the same project that have not experienced this issue either. I work on Linux though and they don't, maybe it has something to do with that.

Yehonathan Sharvit14:07:01

Hi there, I am new to Cursive. I am struggling to configure cursive on a clojure project

Yehonathan Sharvit14:07:09

I created a REPL configuration. I am able to launch it. But I don't get any prompt. I see this error:

Error loading complete.core: Could not locate complete/core__init.class or complete/core.clj on classpath.

Yehonathan Sharvit14:07:41

I solved it by adding to my dependencies: org.clojure/tools.nrepl

Yehonathan Sharvit14:07:15

Now I have a strange issue: I am able to send expressions to evaluation from the editor. But I cannot enter any expression in the REPL

Yehonathan Sharvit14:07:21

I don't have a prompt

Yehonathan Sharvit15:07:55

I found it. I amin darcula theme. The boundaries of the input window below the REPL window are really hard to see

manutter5115:07:49

Who can fix typos on the Conj CFP form?

manutter5121:07:03

That and there’s 2 “m’s” in “accommodations”

cfleming21:07:14

@manutter51 Probably no-one in #cursive 🙂

cfleming21:07:35

@alexmiller is probably the best person to ask.

manutter5121:07:54

doh, I was sure I was in #clojure when I typed that facepalm