Fork me on GitHub
#boot
<
2017-07-21
>
richiardiandrea09:07:24

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

kommen09:07:43

@richiardiandrea thanks for investigating. explains why it worked for me. will also think about a possible solution

kommen09:07:53

as node modules can get pretty big with lots of files pretty fast, i agree copying them to boot cache sounds scary

richiardiandrea10:07:54

We were thinking of symlinking

jannis12:07:00

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

jannis12:07:46

My guess is that maybe a dependency has a malformed manifest, where the project name is not a symbol but a vector…?

jannis12:07:05

I checked them all. Their pom files look ok.

jannis12:07:36

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]]

richiardiandrea13:07:58

Oooh nice catch!

fiddlerwoaroof15:07:15

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)))

fiddlerwoaroof15:07:02

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.

fiddlerwoaroof15:07:35

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

flyboarder19:07:00

boot-npm and boot-nodejs are complementary, I have already sorted out the npm issue 😛

solve-calc.com22:07:02

I found an Lambda/Lein/Clojure tutorial at https://aws.amazon.com/blogs/compute/clojure/ . Is there one for boot?

flyboarder23:07:54

@richiardiandrea also you shouldn’t be using get-version if you are using the latest version of boot-semver

flyboarder23:07:25

version task should do that for you