This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-20
Channels
- # aatree (42)
- # admin-announcements (25)
- # alda (28)
- # aws (56)
- # beginners (67)
- # boot (248)
- # braid-chat (9)
- # cider (52)
- # cljsrn (11)
- # clojars (4)
- # clojure (341)
- # clojure-czech (5)
- # clojure-japan (3)
- # clojure-nl (2)
- # clojure-russia (57)
- # clojured (10)
- # clojurescript (35)
- # community-development (18)
- # cursive (17)
- # datascript (5)
- # datomic (39)
- # dirac (25)
- # editors (2)
- # events (3)
- # hoplon (60)
- # jobs (5)
- # ldnclj (9)
- # leiningen (5)
- # mount (20)
- # off-topic (3)
- # om (263)
- # onyx (69)
- # perun (5)
- # proton (55)
- # re-frame (7)
- # reagent (24)
- # spacemacs (6)
- # yada (16)
hi there - I have trouble compiling my project with figwheel, when I include devtools.core
I can compile with lein cljsbuild once dev
, but running lein figwheel
gives me the following error:
ANALYSIS ERROR: java.io.FileNotFoundException: Could not locate environ/core__init.class or environ/core.clj on classpath., compiling:(devtools/dirac.clj:1:1) on file null, line null, column null
clojure.lang.ExceptionInfo: Error in component :figwheel-system in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start {:reason :com.stuartsierra.component/component-function-threw-exception, :function #'com.stuartsierra.component/start, :system-key :figwheel-system, :component #figwheel_sidecar.system.FigwheelSystem{:system #object[clojure.lang.Atom 0x6f45a719 {:status :ready, :val #<SystemMap>}]}, :system #<SystemMap>}
at clojure.core$ex_info.invoke(core.clj:4593)
…
If I remove everything related to requirering and starting devtools from my .core
namespace, it works again
it is declared here in cljs-devtools project: https://github.com/binaryage/cljs-devtools/blob/master/project.clj#L13
actually I tried including it explicitly, and that is currently what makes my lein cljsbuild once
work
oh - btw, finding PageUp/PageDown was a mystery on my macbook, might want to make some buttons or write that it’s fn+arrows
on macbooks 😉
just seems the sample is depending explicitly on environ. if I depend on it explicitly, it works for me, both with cljsbuild and figwheel.