emacs-for-clojure icon indicating copy to clipboard operation
emacs-for-clojure copied to clipboard

Error with Cider-Jack-In (clojure-project-dir)

Open trackrise opened this issue 7 years ago • 2 comments

I've been trying to get this running for days:

error: Symbol's function definition is void: clojure-project-dir

Running M-x cider-version gives "CIDER 0.15.1 (London)"

Running M-x clojure-mode-version gives "clojure-mode (version 3.1.0-snapshot)

Running java -version in terminal gives "java version "9.0.1""

Running lein -v in terminal gives "2.8.1 on Java 9.0.1 Java Hotspot(TM) 64-Bit Server VM"

Running emacs -version in terminal gives "GNU Emacs 25.2.1"

profiles.clj: "{:user {:plugins []}}"

"(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t)

(add-to-list 'package-pinned-packages '(cider . "melpa-stable") t)" added after line 12.

Not sure what else to do here.

trackrise avatar Nov 03 '17 04:11 trackrise

I believe this may be an issue with an old version of clojure-mode; I had a similar problem on Windows and running package-reinstall clojure-mode fixed it.

matt-gresham avatar Mar 21 '18 16:03 matt-gresham

I was able to solve by upgrading sesman.

M-x package-refresh-contents
M-x package-reinstall sesman

restart emacs, open the core.clj file and run the jack-in command again.

vikasagartha avatar Jan 25 '19 19:01 vikasagartha