This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-14
Channels
- # announcements (1)
- # beginners (13)
- # calva (2)
- # cider (43)
- # cljdoc (11)
- # clojure (16)
- # clojure-spec (10)
- # clojure-uk (6)
- # clojurescript (7)
- # code-reviews (3)
- # core-matrix (1)
- # datascript (4)
- # datomic (7)
- # devcards (4)
- # figwheel-main (12)
- # fulcro (27)
- # hoplon (1)
- # lein-figwheel (1)
- # luminus (1)
- # nrepl (23)
- # off-topic (4)
- # planck (1)
- # re-frame (8)
- # reagent (7)
- # shadow-cljs (61)
- # spacemacs (7)
- # tools-deps (19)
Hi everyone, I’m new here and got some trouble following step 4 of [Running cljdoc locally](https://github.com/cljdoc/cljdoc/blob/master/doc/running-cljdoc-locally.md)
The error is “Caused by: java.io.FileNotFoundException: Could not locate jsonista/core__init.class or jsonista/core.clj on classpath.”
Does anyone know what might be wrong? I can provide the entire error stack if needed. Thanks.
@dawranliou You could try running lein deps
in Muuntaja folder, in case lein install
didn't download deps for Muuntaja
Thanks @juhoteperi for helping! It still didn’t resolve the jsonista dependency for me
You did give me some clue that the problem is jsonista did not get resolved when I installed muuntaja.
I think perhaps it’s an issue with Muuntaia. The project.clj has dependencies as:
:managed-dependencies [[metosin/muuntaja "0.6.1"]
[metosin/jsonista "0.2.2"]
[com.cognitect/transit-clj "0.8.313"]
[cheshire "5.8.1"]
[circleci/clj-yaml "0.5.6"]
[clojure-msgpack "1.2.1" :exclusions [org.clojure/clojure]]]
:dependencies []
After I added [metosin/jsonista “0.2.2”] to :dependencies cljdoc ingest works
Ah, because Muuntaja is split into multiple modules, running lein in main module doesn't resolve all deps. Running script/lein-modules deps
should install deps for all modules.
Hey thanks. I found using scripts/lein-modules install
would resolve the deps and build the jar.
I made a small PR to address the issues I found while following the doc: https://github.com/cljdoc/cljdoc/pull/146