This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-14
Channels
- # announcements (31)
- # babashka (9)
- # beginners (4)
- # calva (67)
- # cider (6)
- # clj-yaml (10)
- # clojure (105)
- # clojure-austin (8)
- # clojure-bay-area (1)
- # clojure-europe (12)
- # clojure-germany (3)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (2)
- # clojurescript (5)
- # core-logic (4)
- # data-science (29)
- # datomic (6)
- # dev-tooling (5)
- # emacs (3)
- # hyperfiddle (22)
- # introduce-yourself (4)
- # lsp (8)
- # malli (10)
- # off-topic (8)
- # pathom (74)
- # polylith (39)
- # practicalli (1)
- # reitit (3)
- # shadow-cljs (2)
- # spacemacs (3)
- # squint (4)
- # tools-deps (4)
Has anyone ever had an issue with Cider + SSH/Tramp + Jar files? I'm connected to a remove machine via REPL, and I can browse the files in Emacs with dired/sshx. But when I'm trying to jump into a jar file (e.g. cider-find-ns), Emacs says "search has failed". There is an issue I've created a moment ago: https://github.com/clojure-emacs/cider/issues/3409
I’m trying to do a cider-connect
to an nrepl started from my project directory with these configurations:
{:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"}
cider/cider-nrepl {:mvn/version "0.31.0"}}
:main-opts ["--main" "nrepl.cmdline"
"--middleware" "[cider.nrepl/cider-middleware]"
"--interactive"]}
I’m getting an error:
Debugger entered--Lisp error: (wrong-type-argument stringp ("<my-proj-dir>" "62772"))
directory-file-name(("<my-proj-dir>" "62772"))
(file-name-nondirectory (directory-file-name (car x)))
(list (file-name-nondirectory (directory-file-name (car x))) (nth 1 x))
(closure (t) (x) (list (file-name-nondirectory (directory-file-name (car x))) (nth 1 x)))((("<my-proj-dir>" "62772")))
mapcar((closure (t) (x) (list (file-name-nondirectory (directory-file-name (car x))) (nth 1 x))) ((("<my-proj-dir>" "62772")) ("<my-proj-dir>" "62772")))
(seq-uniq (mapcar #'(lambda (x) (list (file-name-nondirectory (directory-file-name (car x))) (nth 1 x))) (delq nil pairs)))
(let* ((pairs (cider--running-nrepl-paths)) (pairs (let* ((c (and t (and dir ...)))) (if c (cons (cider--path->path-port-pairs c) pairs) pairs)))) (seq-uniq (mapcar #'(lambda (x) (list (file-name-nondirectory (directory-file-name ...)) (nth 1 x))) (delq nil pairs))))
cider-locate-running-nrepl-ports("<my-proj-dir>")