This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-14
Channels
- # adventofcode (62)
- # beginners (78)
- # boot (26)
- # boot-dev (9)
- # cider (73)
- # cljs-dev (33)
- # cljsrn (36)
- # clojure (159)
- # clojure-android (1)
- # clojure-austin (1)
- # clojure-greece (79)
- # clojure-italy (10)
- # clojure-nl (3)
- # clojure-russia (11)
- # clojure-spec (33)
- # clojure-uk (26)
- # clojurescript (107)
- # core-async (22)
- # core-logic (12)
- # cursive (16)
- # datomic (13)
- # devcards (5)
- # duct (36)
- # emacs (4)
- # figwheel (3)
- # fulcro (107)
- # graphql (171)
- # hoplon (27)
- # instaparse (24)
- # jobs-discuss (34)
- # juxt (3)
- # lein-figwheel (1)
- # leiningen (8)
- # lumo (11)
- # off-topic (9)
- # onyx (79)
- # parinfer (1)
- # pedestal (75)
- # re-frame (27)
- # rum (1)
- # shadow-cljs (11)
- # spacemacs (20)
- # specter (17)
- # unrepl (96)
Guys, I am a little confused with lumo transient dependencies. I don't seem to be able to load cljs
libraries even when specifying coordinates on command-line. Am i suppose to ignore those and only use js
libraries?
@firstclassfunc how does your classpath look like you're feeding to lumo?
@hlolli was using something like lumo -KvD "cljs-http:0.1.41, noencore/noencore:0.3.3"
you sure they exists in ~/.m2 directory? Otherwise I'm not good with the -D argument, but I'm not sure you need the quotes.. 1min...
https://github.com/anmonteiro/lumo/blob/master/src/js/util.js#L77-L89 yes it's just comma, don't need the space, it splits by a single comma.
@hlolli I have tried various ways, if I do lumo -KvD cljs-http:0.1.41, noencore:0.3.3
I get an error
path.js:28
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at Object.join (path.js:1249:7)
at ke ([eval]:1:19910)
at n.split.map ([eval]:1:19990)
at Array.map (<anonymous>)
at e.reduce ([eval]:1:19981)
at Array.reduce (<anonymous>)
at ze ([eval]:1:19945)
at [eval]:161:82815
at [eval]:161:82883
this error is for nonencore I guess, it things it's main script path.. I'm guessing, on my computer I can do this
$ lumo -d -D org.clojure/test.check:0.10.0-alpha2 -c src
Lumo 1.8.0-beta
ClojureScript 1.9.946
Node.js v9.2.0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Exit: Control+D or :cljs/quit or exit
cljs.user=>
lumo -d -D org.clojure/test.check:0.10.0-alpha2,andare/andare-0.7.0.jar -c src
works too
yea I think the space
, was an issue
Second time I bump into these kind of require pattern https://github.com/weavejester/cljfmt/blob/master/cljfmt/src/cljfmt/core.cljc#L23 where in cljc file, selfreference is provided to macros for cljs cases. Both times I get errors in Lumo, I wonder if this is a lumo thing, or deprecated cljs thing.