File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -175,3 +175,19 @@ but you shouldn't do that because `cider-jack-in` already does that for
175
175
you. Look into the following files, and ensure you've removed all references to
176
176
` cider-nrepl ` and ` tools.nrepl ` : ` project.clj ` , ` build.boot ` ,
177
177
` ~/.lein/profiles.clj ` and ` ~/.boot/profile.boot ` .
178
+
179
+ ### I get some error related to refactor-nrepl on startup
180
+
181
+ The package ` clj-refactor ` would normally inject its own middleware on
182
+ ` cider-jack-in ` , just as CIDER itself would. Usually that's not a
183
+ problem, as long as you're using compatible versions of CIDER and
184
+ ` clj-refactor ` , but if you're getting some error probably that's not
185
+ the case. You've got two options to solve this:
186
+
187
+ * Use compatible versions of the two projects (e.g. their most recent
188
+ snapshots or most recent stable releases)
189
+ * Disable the ` clj-refactor ` middleware injection:
190
+
191
+ ``` el
192
+ (setq cljr-inject-dependencies-at-jack-in nil)
193
+ ```
You can’t perform that action at this time.
0 commit comments