-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The clojure executable isn’t on your ‘exec-path’ on Windows #2424
Comments
hi @didibus this seems most likely a problem with your setup. I think a simple remedy is to add lein to your path. You can do this inside of emacs as well with (add-to-list 'exec-path "lein/path") |
The actual problem here is different - since CIDER 0.17 repls outside projects are started using |
Ya, emacs can find lein properly, for example, I can cider-jack-in given a
project.clj file is present. But it seems to try and use tools.deps to
start a repl without a project. And since that's not yet available on
Windows, lein should still be used.
…On Sun, 19 Aug 2018 at 15:02 Bozhidar Batsov ***@***.***> wrote:
The actual problem here is different - since CIDER 0.17 repls outside
projects are started using clojure ... instead of lein repl. But I don't
think that the clojure script is present on Windows, so we should
probably make the default command selection a bit smarted and check if
clojure is present, falling back to lein.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2424 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAktxMg0n-NcHtLzTGSYBq-h_0qdWnvnks5uSeBmgaJpZM4WC6OE>
.
|
Hi! As the windows support for clj is looming and I've started to work on few projects that unfortunately are scafolded around clj instead of lein, what's the stat with this? I seem to have similar issue to above, which I believe is rooted into to the fact that current windows clj is mainly run through PowerShell. Any suggestions for some workarounds for the time being? https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows |
Expected behavior
Given a clojure-mode buffer.
Given we have no project.clj
When running cider-jack-in
Then we are connected to an empty standard Clojure REPL
Actual behavior
We are instead greeted with the following error:
user-error: The clojure executable isn’t on your ‘exec-path’
, and cider does not start a repl and does not jack-in.Steps to reproduce the problem
C-x b
into a new buffer.M-x
clojure-mode to switch major mode to clojure.M-x
cider-jack-inEnvironment & Version information
0.300.0@26.1 (spacemacs)
CIDER version information
CIDER 0.18.0-snapshot
Lein/Boot version
Emacs version
26.1
Operating system
Windows 10
The text was updated successfully, but these errors were encountered: