Fork me on GitHub
#cljdoc
<
2020-01-16
>
tony.kay03:01:31

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 ""},
  "central" {:url ""}}}
/Users/tonykay/fulcrologic/fulcro/pom.xml {clojars {:url }, central {:url }}
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)

tony.kay03:01:03

not sure why it can’t find servlet api (though I’m not using it)

tony.kay03:01:03

I tried changing maven repos…

tony.kay03:01:08

doesn’t seem to be getting those from pom.xml…trying using he pom.xml from formal location in m2

tony.kay03:01:34

ah, looks like my paths were wrong…crapper error message I think.

tony.kay03:01:09

got it…weird errors, but just getting all params right gets it

tony.kay03:01:01

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

tony.kay04:01:51

skipping an entire folder would be fine…reading source, I am not seeing an exclude option yet

martinklepsch11:01:56

@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

tony.kay16:01:48

@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.

tony.kay16:01:56

everything else was working prior to that add