flyingmachine / emacs-for-clojure

519 stars 267 forks source link

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

Open trackrise opened 6 years ago

trackrise commented 6 years ago

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.

matt-gresham commented 6 years ago

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.

vikasagartha commented 5 years ago

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.