is there no package for Draft.js?
Heya guys, what are some debugging steps to take if I’m using a cljsjs package but I get no such namespace
errors when trying to (:require
the package?
@anmonteiro: nope
@anmonteiro: if you're considering using Draft.js you might also be interested in Mobiledoc-kit — it's not React-based but seems pretty good from some initial experiments
I’ll consider that, thanks
wrt. Draft: I’ve downloaded it from NPM and added to foreign-libs, but getting an error saying Immutable
is not defined
should I be building a UMD module with Webpack or something?
this question probably falls out of this channel’s scope
@anmonteiro: draft js depends on immutable.js so you'll need to provide that
@martinklepsch: somehow I thought it was bundled in the distribution
I thought that too initially but I don't think it is
it would make sense if it was
so you succeeded in using it with those 2 foreign-libs only?
i.e. Draft.js and Immutable.js
@anmonteiro: I didn't pursue it any further at that point
right, thanks anyway
but you can just try a script tag with immutable, if that solves it: 👍
alright, thanks
@anmonteiro: if you end up with any draft-js-using code I'd love to see it
dully noted 🙂
Hey, how do I boot install cljsjs package into my local maven repo?
I tried boot package
and then boot install
➜ codemirror git:(master) ✗ boot install
clojure.lang.ExceptionInfo: java.lang.Exception: can't find jar file
data: {:file
"/var/folders/18/c6wmb7nj5_qb2h3yfx73cq480000gn/T/boot.user7938991289567817419.clj",
:line 33}
java.util.concurrent.ExecutionException: java.lang.Exception: can't find jar file
java.lang.Exception: can't find jar file
boot.task.built-in/fn/fn/fn/fn built_in.clj: 721
boot.core/run-tasks core.clj: 794
boot.core/boot/fn core.clj: 804
clojure.core/binding-conveyor-fn/fn core.clj: 1910
denik: boot package install
thanks @juhoteperi speed of light response
there is no state kept between separate Boot invocations, so if you run the commands separately install
doesn't see the files created by package
That makes a lot of sense