Fork me on GitHub
#cljsrn
<
2021-05-07
>
Ale17:05:03

Hi everyone! I'm trying to get started with krell. I created a basic RN app as per the RN tutorial, and then tried to install the nodejs dependencies for the Krell repl as per the Krell reagent tutorial with

clj -M -m cljs.main --install-deps
but I'm getting this error
θ70° [ale:~/src/Dondai] % clj -M -m cljs.main --install-deps
Error building classpath. Cannot invoke "java.io.File.isAbsolute()" because "f" is null
java.lang.NullPointerException: Cannot invoke "java.io.File.isAbsolute()" because "f" is null
        at clojure.tools.deps.alpha.util.dir$canonicalize.invokeStatic(dir.clj:30)
        at clojure.tools.deps.alpha.util.dir$canonicalize.invoke(dir.clj:25)
        at clojure.tools.deps.alpha.extensions.deps$eval1390$fn__1392.invoke(deps.clj:27)
        at clojure.lang.MultiFn.invoke(MultiFn.java:244)
        at clojure.tools.deps.alpha$expand_deps$children_task__790$fn__792$fn__793.invoke(alpha.clj:403)
        at clojure.tools.deps.alpha.util.concurrent$submit_task$task__505.invoke(concurrent.clj:34)
        at clojure.lang.AFn.call(AFn.java:18)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:832)
I tried running
clj -M -m cljs.main -co "{:deps-cmd \"yarn\"}" --install-deps
as well but I'm getting the same error. any clue what's going wrong?

Ale18:05:36

Could solve the above issue updating the git hashes (the tutorial might need to be updated?) Now struggling with another issue when I try opening a krell repl with cider:

ReferenceError: Can't find variable: cljs
The same happens when I try to run the repl from the command line with
clj -M -m krell.main -co build.edn -c -r
I could finally run issuing
clj -M -m krell.main -co build.edn -c
and
clj -M -m krell.main -co build.edn -r
separately. Still no luck with cider