user1050817
user1050817

Reputation: 965

error using swank with leiningen and elein

I'm using leiningen and elein in linux, when I create my project I add:

:dev-dependencies [[swank-clojure "1.2.1"]])

then I call "elein-swank" and perfect...this connects swank and (apparently) slime because the repl opens and I can work with my code.

Now I've installed clojure box on windows; this includes clojure-mode and slime, and I've downloaded leiningen and elein mode.

I create my project, add the swank dependencie and when I call "elein-swank" this shows me:

"No swank found.."

And the elein-swank buffer says

Connection opened on localhost port 4005.

Apparently swank didn't work because if I call slime-connect and try to use the 4005 port this opens the repl but if I press enter it says "connection close"

Then I tried to download swank-clojure using:

lein plugin install swank-clojure 1.3.3

I've read that this way is obsolete and now leiningen includes swank (correct me if I wrong). I try use swank then and this doesn't work either.

What can I do?

Upvotes: 2

Views: 188

Answers (0)

Related Questions