This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-08
Channels
- # aws (21)
- # beginners (62)
- # boot (29)
- # chestnut (1)
- # cider (110)
- # cljs-dev (37)
- # clojure (93)
- # clojure-berlin (1)
- # clojure-dev (10)
- # clojure-greece (4)
- # clojure-italy (5)
- # clojure-new-zealand (1)
- # clojure-spec (6)
- # clojure-uk (46)
- # clojurebridge (1)
- # clojurescript (54)
- # cryogen (1)
- # cursive (22)
- # datomic (72)
- # emacs (2)
- # events (3)
- # flambo (1)
- # hoplon (88)
- # jobs (6)
- # juxt (51)
- # lein-figwheel (1)
- # leiningen (3)
- # lumo (12)
- # mount (4)
- # off-topic (3)
- # onyx (3)
- # pedestal (4)
- # portkey (27)
- # re-frame (13)
- # reagent (1)
- # ring (4)
- # rum (2)
- # uncomplicate (1)
- # unrepl (3)
can someone help me, I can't figure out how to use new :npm-deps
feature of clojurescript compiler with crisptrutski.boot-cljs-test
I tried walking thing back to just Carmine, the Redis library, and it mostly doesn't compile. I know I've used it before, but I remember jumping through hoops then too. I tried manually adding a bunch of things that are included in Carmine dependancies, and tracked down a couple of includes in those projects to quell these randomish errors that are popping up, kindof grasping at straws... idk, are there other good redis libaries I should be looking at? Is there something good to read on this non-determistic load order/require/qualified namespace problem?
I mean, I still might just be doing something really stupid, idk...
ok, yeah, started from blank slate project twice, and it mostly doesn't compile(>2/3s of the time) after adding just 1) [com.taoensso/carmine "2.16.0"] to .boot, and 2) (:require [taoensso.carmine :as car :refer (wcar)]) to the .api
@john_tollison so it is carmine? Interesting
Looks like it, although like I said, I ran into this problem before. It ran a little while and seemed to resolve w/o explaination, and I didn't followup like I should have
The problem "ran" that is
ok, so... "go via the dev namespace first"? I'm sorry. I'm lost. I'm sure I skipped parts of my programming education somewhere
@john_tollison what I mean is that, I'm on a project that only works if you require a particular namespace first. Because of the same issue you have.
@dominicm got it working. All I had to do was resolve the reloaded app/start
function in the boot task, like: ((resolve 'my-app.app/start))
.
fwiw, I just reset my computer and got my test project to compile 6x in a row. I don't know what's going in the background that causes that. Thanks for your help.
I have a file in my project resources/foo.edn
and resources
is in my resource-paths
, now I also have a test-resources/foo.edn
. How can I add test-resources
to my resource-paths
in a way that ensures the test-resources
version is the version that is "used"?
@adamfrey there is no standard way that I know of, so I would set-env!
test-resource
only in your test wrapper task
This is part of why I tend to call set-env!
only once nowadays and developed a declarative approach for boot that does that for me
it does only accept a set, although I bet there is an ordering happening in there somewhere