I’m having trouble trying to ingest locally to test docs…I’m getting:
{:project "com.fulcrologic/fulcro",
:version "3.1.4",
:jarpath
"/Users/tonykay/.m2/repository/com.fulcrologic/fulcro/target/fulcro-3.1.4.jar",
:pompath "/Users/tonykay/fulcrologic/fulcro/pom.xml",
:repos
{"clojars" {:url "<https://repo.clojars.org/>"},
"central" {:url "<http://central.maven.org/maven2/>"}}}
/Users/tonykay/fulcrologic/fulcro/pom.xml {clojars {:url <https://repo.clojars.org/>}, central {:url <http://central.maven.org/maven2/>}}
Failed to read artifact descriptor for javax.servlet:javax.servlet-api:jar:4.0.1
STDERR -----------------------------------------------------
ERROR [2020-01-15 19:27:11,027] clojure-agent-send-off-pool-0 - cljdoc.server.api analysis job failed for project: com.fulcrologic/fulcro, version: 3.1.4, build-id: 5
clojure.lang.ExceptionInfo: Analysis with local AnalysisService failed
at cljdoc.analysis.service.Local.wait_for_build(service.clj:151)
at cljdoc.server.api$analyze_and_import_api_BANG_.invokeStatic(api.clj:29)
at cljdoc.server.api$analyze_and_import_api_BANG_.invoke(api.clj:10)
at cljdoc.server.api$kick_off_build_BANG_$fn__29612.invoke(api.clj:77)
at clojure.core$binding_conveyor_fn$fn__5754.invoke(core.clj:2030)
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:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
not sure why it can’t find servlet api (though I’m not using it)
I tried changing maven repos…
doesn’t seem to be getting those from pom.xml…trying using he pom.xml from formal location in m2
ah, looks like my paths were wrong…crapper error message I think.
got it…weird errors, but just getting all params right gets it
So, I use shadow-cljs for this project, and one of my requires does NOT have a cljsjs package, so the node dep is failing. Is there any way to get it to skip certain nses? I tried ^:no-doc on ns, but that didn’t hlp
skipping an entire folder would be fine…reading source, I am not seeing an exclude option yet
@tony.kay :no-doc
still requires analyzing the namespace unfortunately (which fails as you discovered) there has been some work to support string requires but so far that hasn’t been fully integrated yet. What node libs do you need? With the preliminary work we’ve done on this currently only “react” is supported but very happy to extend that until we figure out a way to allow any string require.
https://github.com/cljdoc/cljdoc-analyzer/pull/6
@martinklepsch I’m using ["*socket*.io-client" :as io-client]
. I have plans to port to sente, just no time to do so right now.
everything else was working prior to that add