hlship / datomic-tutorial

Clerk notebooks with my own Datomic tutorials
Apache License 2.0
3 stars 0 forks source link

Issues building the datomic tutorial #1

Open franks42 opened 2 weeks ago

franks42 commented 2 weeks ago

Got all kinds of weird long stack-traces while loading the trace and pretty libs when trying to jack-in - unfortunately they were not loaded yet to help me guide through the stack trace forest ;-)

Ended up updating the dependencies to the latest known versions in the deps.edn and eventually all seemed to work (?)

!!! The tutorial looks very nice in clerk !!!

The working deps that I have are:

:deps  {
        ;;  com.datomic/peer            {:mvn/version "1.0.7075"}
         com.datomic/peer            {:mvn/version "1.0.7187"}
         org.clojure/clojure         {:mvn/version "1.11.4"}
         babashka/fs                 {:mvn/version "0.5.21"}
         org.clj-commons/pretty      {:mvn/version "3.1.1"}
         io.github.hlship/trace      {:mvn/version "1.3"}
         io.aviso/logging            {:mvn/version "1.0"}
         io.github.nextjournal/markdown {:git/sha "6683c48dfdb23404a23057817b6ac3acf0310bca"}
         io.github.nextjournal/clerk {:mvn/version "0.16.1016"}
        ;;  io.github.nextjournal/clerk {:git/sha "c741fcd021c333d6d3fb2ba000cc04bb5d3e8251"}
         ;;
         }}
franks42 commented 2 weeks ago

Sorry, I spoke too soon - I thought that I could put the references to trace and pretty back in user.clj, but that causes issues in the clerk part when rendering the webpage.

So it all works as long as I do not require the trace and pretty libs in user.clj and do not refer to it - not sure why (?) ... but as it works now and I'm unfamiliar with that code base, I won't spend more time on this.