cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
mpenet 2020-06-04T09:50:39.061900Z

I have a weird build error on one of our projects: https://app.circleci.com/pipelines/github/cljdoc/builder/6528/workflows/2341f099-a98f-48d4-a8bf-d2b46a06629c/jobs/22904/steps

mpenet 2020-06-04T09:51:04.062500Z

seems related to cljs (cljc?) files, but can't figure it out

mpenet 2020-06-04T09:51:32.062700Z

project is https://github.com/exoscale/coax

martinklepsch 2020-06-04T10:04:54.063600Z

Hm. Somehow cljs.analyzer.api/ns-publics seems to return nothing for the three namespaces in this project

martinklepsch 2020-06-04T10:05:24.063900Z

Could you open an issue?

martinklepsch 2020-06-04T10:06:01.064700Z

clj -m cljdoc-analyzer.cljdoc-main '{:project "exoscale/coax", :version "1.0.0-alpha4", :jarpath "<https://repo.clojars.org/exoscale/coax/1.0.0-alpha4/coax-1.0.0-alpha4.jar>", :pompath "<https://repo.clojars.org/exoscale/coax/1.0.0-alpha4/coax-1.0.0-alpha4.pom>", :repos {"clojars" {:url "<https://repo.clojars.org/>"}, "central" {:url "<https://repo.maven.apache.org/maven2/>"}}}'
This command can be used to reproduce the problem inside the cljdoc/cljdoc-analyzer repository

mpenet 2020-06-04T10:08:03.064900Z

will do

1👍
2020-06-04T20:14:32.067100Z

hey all, I'm wondering if there's a way to fix this build failure: https://app.circleci.com/pipelines/github/cljdoc/builder/6526/workflows/d765d9a5-7055-46f7-a814-2a6cf413080c/jobs/22902/steps this one is for tick, but I'm running into the same issue - how to include js dependencies so cljdoc is happy?

2020-06-04T20:16:02.067900Z

the error is: No such namespace: @js-joda/core - in the source the line is (require ["@js-joda/core"]

tony.kay 2020-06-04T21:02:27.069Z

@danvingo we’re all banging up against these. General CLJS requires that don’t use cljsjs are generally broken

tony.kay 2020-06-04T21:03:00.069500Z

worse, it bleeds…if you use a project that requires something like that, yours won’t build either

2020-06-04T22:20:06.070800Z

ahhh ok, thanks