Fork me on GitHub
#editors
<
2015-11-26
>
timbuckley04:11:21

Man I am in dire need of Emacs help. I am trying to play with my cljs file in cider using cider-jack-in but it keeps giving me the below error when I try to compile the current file into cider.

1. Caused by java.io.FileNotFoundException
   Could not locate reagent/core__init.class or reagent/core.clj on
   classpath.
shell steps:
$ lein new figwheel project-name -- —reagent
$ cd project-name
$ lein figwheel
$ lein install && lein deps

timbuckley04:11:31

Part of my project.clj:

:dependencies [[org.clojure/clojure "1.7.0"]
                 [org.clojure/clojurescript "1.7.170"]
                 [org.clojure/core.async "0.2.374"]
                 [reagent "0.5.0"]]

  :plugins [[lein-cljsbuild "1.1.1"]
            [lein-figwheel "0.5.0-1"]
            [cider/cider-nrepl "0.8.1"]]

timbuckley04:11:17

Any help would be appreciated. Bottom line is that apparently Cider can’t see that I have the reagent dependency already.

benedek09:11:57

it may not be related but you might want to upgrade cider (both cider-nrepl and the emacs package) to 0.10.0-SNAPSHOT if you want to play with cljs

benedek09:11:36

loads of other improvements as well since 0.8.1

timbuckley14:11:42

Thanks for the suggestion, @benedek, will do so. With any luck it will solve my problem too.

benedek14:11:19

no worries

benedek15:11:05

let me know how you get on

timbuckley23:11:37

OK dumb question, how do you upgrade the cider emacs package to 0.10.0?