This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-04
Channels
- # architecture (20)
- # aws (8)
- # beginners (13)
- # boot (9)
- # cider (80)
- # cljs-dev (69)
- # cljsrn (7)
- # clojure (243)
- # clojure-dusseldorf (8)
- # clojure-italy (5)
- # clojure-norway (3)
- # clojure-poland (57)
- # clojure-russia (10)
- # clojure-shanghai (2)
- # clojure-spec (11)
- # clojure-uk (50)
- # clojurescript (198)
- # core-async (11)
- # crypto (2)
- # cursive (14)
- # datomic (17)
- # figwheel (8)
- # garden (7)
- # hoplon (8)
- # incanter (4)
- # jobs (1)
- # leiningen (1)
- # liberator (38)
- # lumo (28)
- # om (55)
- # onyx (10)
- # pedestal (13)
- # perun (20)
- # re-frame (1)
- # reagent (16)
- # ring-swagger (9)
- # spacemacs (11)
- # test-check (9)
- # unrepl (43)
- # untangled (163)
- # yada (8)
inspect that variable exec-path
. If your install of lein can be located here you've got a problem, but otherwise add it with (add-to-list exec-path "my/path\to\lein.bat")
@dpsutton yeah the directory was there but not the .bat file, but even after I added it I'm still getting the same error. Same with trying the previous two release versions of cider-nrepl
Hmm doesn't seem to give much more info:
Debugger entered--Lisp error: (error "Could not start nREPL server: The system cannot find the path specified.
")
signal(error ("Could not start nREPL server: The system cannot find the path specified.
\n"))
error("Could not start nREPL server: %s" "The system cannot find the path specified.
\n")
nrepl-server-sentinel(#<process nrepl-server> "exited abnormally with code 1\n")
can you run lein repl from the cmd line and verify that it starts up in this project?
thanks for the help in advanced! Yeah I've been doing lein repl and then cider-connect to get around this
so it's not incredibly high priority. I've mostly been using boot for a year which works fine with cider and have just done this workaround whenever working with lein, so it's not an incredibly high priority, just figured i'd get to the bottom of it
;; On Windows, a failed start sends the "finished" event. On Linux it sends
;; "exited abnormally with code 1".
oh ok so that's expected behavior then. i'm not picky but the latest if fine i guess, except that I was going to check if the latest version was the issue here
ah, yeah you can get rid of that. cider ensures it's matching version gets installed
Starting nREPL server via "c:/Users/justin/.lein/bin/lein.bat" update-in :dependencies conj ^"[org.clojure/tools.nrepl \^"0.2.12\^" :exclusions [org.clojure/clojure]]^" -- update-in :plugins conj ^"[refactor-nrepl \^"2.3.0-SNAPSHOT\^"]^" -- update-in :plugins conj ^"[cider/cider-nrepl \^"0.15.0-SNAPSHOT\^"]^" -- repl :headless :host ::...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: The system cannot find the path specified.
error in process sentinel: Could not start nREPL server: The system cannot find the path specified.
ok. remove that lein profiles file (or rename it so it's not seen for right now) and try to jack in again
and if you can do this in a fresh copy of emacs without many buffers open and see if it's leaving any server buffers open with some more info in them
but when i attempted to jack in after nuking the repo, it didn't fetch the cider-nrepl repo again, shouldn't that have happened?
and my longshot hunch is that it's hitting the linux subsystem which is why we are seeing the "exited abnormally with code1". this is a hail mary
so it's confused, as it asks if lein is installed, which it is (in windows) and then tries to run the linux command and it's not there
exec-path is a variable defined in `C source code'.
Its value is
("c:/Users/justin/.lein/bin/lein.bat" "c:/Rtools/bin" "c:/Rtools/gcc-4.6.3/bin" "C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common" "C:/tools/ruby215/bin" "C:/ProgramData/Oracle/Java/javapath" "C:/Windows/system32" "C:/Windows" "C:/Windows/System32/Wbem" "C:/Windows/System32/WindowsPowerShell/v1.0/" "C:/ProgramData/chocolatey/bin" "C:/Program Files (x86)/Windows Live/Shared" "C:/Program Files/Java/jdk1.8.0_20/bin" "C:/Program Files (x86)/Plantronics/Spokes3G/" "C:/Program Files (x86)/Heroku/bin" "C:/Program Files (x86)/git/cmd" "C:/Program Files (x86)/GNU/GnuPG/pub" "C:/bin/strawberry/c/bin" "C:/bin/strawberry/perl/site/bin" "C:/bin/strawberry/perl/bin" "C:/Program Files (x86)/nodejs/" "C:/WINDOWS/system32" "C:/WINDOWS" "C:/WINDOWS/System32/Wbem" "C:/WINDOWS/System32/WindowsPowerShell/v1.0/" "C:/Program Files (x86)/Calibre2/" "C:/Program Files (x86)/Skype/Phone/" "C:/Program Files/Git/cmd" "C:/Program Files/TortoiseGit/bin" "C:/Program Files (x86)/Geth" "C:/Users/justin/Anaconda3" "C:/Users/justin/Anaconda3/Scripts" "C:/RailsInstaller/Git/cmd" "C:/RailsInstaller/Ruby2.1.0/bin" "C:/Users/justin/.lein/bin" "C:/Program Files/Java/jre1.8.0_25/bin" "C:/Users/justin/bin" "C:/bin/apache-maven-3.1.1/bin" "C:/Program Files/Boot2Docker for Windows" "C:/Program Files/R/R-3.2.2/bin" "C:/Program Files/R/R-3.2.0/bin/i386" "C:/Users/justin/AppData/Roaming/npm" "C:/Users/justin/AppData/Local/atom/bin" "C:/Program Files/MongoDB/Server/3.0/bin" "C:/Program Files (x86)/Graphviz2.38/bin" "C:/Program Files/Docker Toolbox" "%USERPROFILE%/AppData/Local/Microsoft/WindowsApps" "." "c:/ProgramData/chocolatey/lib/Emacs/tools/libexec/emacs/24.4/i686-pc-mingw32")
Original value was
("." "C:/msys/local/bin" "c:/mingw/bin" "C:/msys/bin" "c:/Windows/system32" "c:/Windows" "c:/Windows/System32/Wbem" "c:/Windows/System32/WindowsPowerShell/v1.0/" "c:/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static" "C:/msys/home/Dani/bin" "c:/Program Files (x86)/Bazaar" "c:/msys/home/dani/emacs/emacs-24.4-build/lib-src" "%emacs_dir%/libexec/emacs/24.4/i686-pc-mingw32")
and that would explain why we haven't redownloaded the cider nrepl middleware in maven
based off of this comment from the above link: > Emacs would play nicer with other cygwin utilities if "~" meant the current user's home directory (Desktop's parent folder), instead of the appdata/roaming folder. Could the next version do this?
ok sweet! the runemacs.exe seems to not be working but will attempt to install lein in cygwin