This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-28
Channels
- # bangalore-clj (1)
- # beginners (67)
- # braveandtrue (179)
- # cider (28)
- # cljdoc (1)
- # clojure (132)
- # clojure-conj (3)
- # clojure-dev (1)
- # clojure-finland (6)
- # clojure-nl (2)
- # clojure-russia (6)
- # clojure-spec (19)
- # clojure-uk (62)
- # clojurescript (90)
- # clojutre (5)
- # component (2)
- # cursive (30)
- # data-science (1)
- # datomic (42)
- # duct (9)
- # emacs (1)
- # figwheel-main (158)
- # fulcro (57)
- # funcool (3)
- # hoplon (1)
- # jobs (17)
- # mount (38)
- # off-topic (15)
- # re-frame (53)
- # remote-jobs (2)
- # schema (11)
- # shadow-cljs (299)
- # spacemacs (25)
- # specter (2)
- # tools-deps (54)
- # vim (11)
- # yada (6)
I’ve deleted a failing deftest
from an ns. When I run cider-test-run-ns-tests
, it keeps failing the deleted test. I’ve tried cider-load-buffer
, it hasn’t made a difference. Am I making a rookie mistake?
@reefersleep cider-load-buffer
won't clear old vars from the file.
cider-refresh
does not work for me currently. Wrong type argument: commandp, cider-refresh
There is! I’ll give that a try if it happens again.
Do you have any idea what my error message re: cider-refresh
could indicate?
I’m not used to emacs lisp errors
hahaha, no, I thought I recalled that 😄
Thanks for your help!
@reefersleep How do you invoke the command? What’s the full backtrace?
How do I get the full backtrace?
I do either SPC m s x
while standing in a clojure buffer or SPC :
and search for cider-refresh
(in spacemacs) 🙂
anyway, you may find this helpful: http://www.cider.mx/en/latest/troubleshooting/
@manuel cheers
I get the following on toggle-debug-on-error
followed by cider-refresh
:
Debugger entered--Lisp error: (wrong-type-argument commandp cider-refresh)
call-interactively(cider-refresh nil nil)
command-execute(cider-refresh)
No less cryptic to me, sadly 😄
@reefersleep yep, I finally get it.
This command was renamed a while ago to cider-ns-refresh
or something like this. I guess that wasn’t reflected in spacemacs.
@U051BLM8F @reefersleep on the develop
branch of Spacemacs, ‘cider-ns-refresh` is called, by , s x
or M-RET s x
. It may be a while before master branch in Spacemacs is updated with this change. I recommend using the develop
branch for Spacemacs anyway, I have found it very stable.