This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-21
Channels
- # aws (2)
- # bangalore-clj (14)
- # beginners (20)
- # boot (20)
- # cider (7)
- # cljs-dev (38)
- # cljsrn (13)
- # clojure (487)
- # clojure-argentina (3)
- # clojure-dev (15)
- # clojure-gamedev (4)
- # clojure-italy (3)
- # clojure-poland (1)
- # clojure-russia (1)
- # clojure-spec (25)
- # clojure-uk (47)
- # clojurescript (127)
- # datomic (125)
- # defnpodcast (1)
- # hoplon (27)
- # jobs (4)
- # lein-figwheel (2)
- # leiningen (1)
- # luminus (5)
- # off-topic (3)
- # om (25)
- # onyx (9)
- # parinfer (3)
- # pedestal (20)
- # planck (65)
- # re-frame (43)
- # reagent (4)
- # remote-jobs (1)
- # ring-swagger (2)
- # rum (9)
- # spacemacs (1)
- # unrepl (37)
- # vim (1)
While trying some hacking here at EuroClojure, I have run against a thorny problem with calling node
apps from boot's cache. I have captured it here: https://github.com/degree9/boot-nodejs/issues/11
@kommen see above ^
@richiardiandrea thanks for investigating. explains why it worked for me. will also think about a possible solution
as node modules can get pretty big with lots of files pretty fast, i agree copying them to boot cache sounds scary
We were thinking of symlinking
Hi! I’m having an issue with boot for the first time in ages. What could lead to boot pom
spitting out an error like this: https://gist.github.com/Jannis/2ad43a7085d444c19af50f9f9030fa4c
My guess is that maybe a dependency has a malformed manifest, where the project name is not a symbol but a vector…?
Found it. There’s a bug in boot show -u
. It prints :exclusions
as a vector of vectors, where it should be a vector of symbols:
Wrong: [com.cemerick/piggieback "0.2.2" :scope "test" :exclusions [[com.google.guava/guava]]]
Correct: [com.cemerick/piggieback "0.2.2" :scope "test" :exclusions [com.google.guava/guava]]
Oooh nice catch!
I'm having issues with boot-cljs-repl. My confiugration looks like this:
(deftask dev
"Build situation-editor for local development."
[]
(comp (watch)
(speak)
(hoplon)
(reload)
(cljs-repl-env)
(cljs :source-map true :optimizations :none)
(serve :port 8000)))
I'm starting the repl with M-x cider-jack-in
and then running
(def p (future (boot (dev))))
(start-repl)
(in-ns 'hoplon.app-pages._index_DOT_html
The issue I'm having is that when I try to access some def
in my code, I get the message WARNING: Use of undeclared Var hoplon.app-pages._index_DOT_html/state at line 1 <cljs repl>
before the value of the def
and when I try do certain things, I occasionally get errors about undefined variables.I'm having trouble figuring out if this is a problem with my setup, with cider (0.15.0) or with something in boot/boot-cljs-repl
@richiardiandrea @kommen you may be looking for boot-npm https://github.com/degree9/boot-npm
boot-npm and boot-nodejs are complementary, I have already sorted out the npm issue 😛
I found an Lambda/Lein/Clojure tutorial at https://aws.amazon.com/blogs/compute/clojure/ . Is there one for boot?
@richiardiandrea also you shouldn’t be using get-version
if you are using the latest version of boot-semver
version
task should do that for you