Start a REPL on the clay/examples/example-project directory.
This will install some dependencies. You can check which by running clj -Stree from your terminal with this project as root.
Confirm that any reference to the tablecloth library is not present.
With your REPL, eval the example1 ns and try running the (require '[scicloj.clay.v2.api :as clay]) expression in the comment block
You should get the following error in your output.
; Execution error (FileNotFoundException) at scicloj.clay.v2.server/eval9126$loading (server.clj:1).
; Could not locate tablecloth/api__init.class, tablecloth/api.clj or tablecloth/api.cljc on classpath.
Possible fix:
Adding scicloj/tablecloth {:mvn/version "RELEASE"} to the deps fixes this issue. Though maybe the deeper problem is that tablecloth should be a subdependency of Clay
System: Linux + VSCode + Calva
Steps to reproduce:
clay/examples/example-project
directory.clj -Stree
from your terminal with this project as root.example1
ns and try running the(require '[scicloj.clay.v2.api :as clay])
expression in the comment blockPossible fix: Adding
scicloj/tablecloth {:mvn/version "RELEASE"}
to thedeps
fixes this issue. Though maybe the deeper problem is that tablecloth should be a subdependency of Clay