(I'm not sure if this is the right channel for this, let me know if I should post somewhere else) I'm having a problem where Calva will load dependencies on both a Windows and a Mac machine, but not on another Windows machine. Here's my deps.edn:
{:paths ["src"]
:deps {org.clojure/clojure {:mvn/version "1.12.0"}
org.clojure/tools.analyzer.jvm {:mvn/version "1.3.2"}
hellonico/pyjama {:git/url ""
:sha "ec753eebffd422fd2d02eb1c93957a9f8adb0016"}}
:aliases {:test {:extra-paths ["test"]}}}
The problem is loading pyjama. The error is in the attached image.I think it could be that the clojure executable is not found. It happens at some machines that VS Code does not have the environment that is expected, when started via the GUI. If you start VS Code (the code command) from a terminal where you know you have clojure, that may work.
Ok, I'll try that, but: if I remove the pyjama dependency, then jack-in goes normally and I can run other Clojure just fine. I would assume that if it can't find the clojure executable, then that wouldn't work.
I see. Maybe I was distracted by that warning from LSP not finding clojure.
Could still be something with the environment. Like if git is not found by the clojure process. What’s in the jack-in terminal when it fails?
Aha! I think git clone is failing on that machine. We'll try a work-around of downloading the library locally and changing the dependency to point to that instead. Thanks!