This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Hey guys, having some problems with reagent and cider. If I do
lein figwheel and then in emacs I connect to nrepl and then try to eval a buffer with something like
(ns reagent-test.core (:require [reagent.core :as reagent :refer [atom]] [reagent.session :as session] [secretary.core :as secretary :include-macros true] [accountant.core :as accountant]))
any ideas how to fix it?
1. Unhandled java.io.FileNotFoundException Could not locate reagent/core__init.class or reagent/core.clj on classpath.
not sure that it's reagent related, but if I remove everything except secretary, it works without problems
@ivanbokii: have you followed https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-within-NRepl? Grasping at straws...
@colin.yates I used reagent template (https://github.com/reagent-project/reagent-template) and its project.clj looks correct according to the instruction you posted
I mean specifically, did you do the
after connecting to the figwheel repl?
user> (use 'figwheel-sidecar.repl-api) user> (cljs-repl)
I also have another problem if I try to start repl directly from cider
lifemappy.repl> (use 'figwheel-sidecar.repl-api) nil lifemappy.repl> (cljs-repl) NullPointerException clojure.core/deref-future (core.clj:2186)
@colin.yates: found the problem. I was trying to run cider repl instead of connecting it to the one, started from terminal with
lein figwheel. After doing coder connect and then trying to run cljs-repl everything worked like a charm. Sorry for taking your time and thank you!
Hey guys. I am having some trouble when trying to use
mapv in a reagent view. What is up with that?
Error rendering component (in my-component > reagent1) Uncaught Error: Invalid arity: 9