Fork me on GitHub
#juxt
<
2018-06-15
>
nha09:06:42

any reason would fail to have https://mvnrepository.com/artifact/cljsjs/js-yaml/3.3.1-0 as a deps?

mach
Writing Mach classpath to .mach/cp
evalmachine.<anonymous>:98
throw ex;
^

Error: Could not eval form (cljs.core/require (quote cljsjs)), got error: #error {:message "No such namespace: cljsjs, could not locate cljsjs.cljs, cljsjs.cljc, or JavaScript source providing \"cljsjs\"", :data {:tag :cljs/analysis-error}}
    at mach$core$code_eval (evalmachine.<anonymous>:642:8)
    at evalmachine.<anonymous>:5357:21
    at Object.clojure.walk.walk (<embedded>:3734:427)
    at clojure.walk.postwalk (<embedded>:3735:57)
    at Function.e [as cljs$core$IFn$_invoke$arity$1] (<embedded>:856:275)
    at <embedded>:978:172
    at cljs.core.LazySeq.fn (<embedded>:978:210)
    at cljs.core.LazySeq.sval (<embedded>:698:151)
    at cljs.core.LazySeq.cljs$core$ISeqable$_seq$arity$1 (<embedded>:704:255)
    at Object.cljs.core.seq (<embedded>:410:172)
cat Machfile.edn
{mach/dependencies [[cljsjs/js-yaml "3.3.1-0"]]}

dominicm12:06:10

I don't think cljsjs works in self hosted, as a rule.

nha13:06:58

ah good to know, thanks 🙂