clojure-emacs / cider

The Clojure Interactive Development Environment that Rocks for Emacs
https://cider.mx
GNU General Public License v3.0
3.54k stars 645 forks source link

Invalid namespaces on Windows when connected to a linux REPL #2518

Closed lcodes closed 5 years ago

lcodes commented 5 years ago

Expected behavior

cider-connect-sibling-cljs should work when Emacs and Clojure run on different platforms.

Actual behavior

Fails with the following message:

user-error: ClojureScript is not available.  See https://docs.cider.mx/en/latest/clojurescript for details

Steps to reproduce the problem

I worked around the issue by hijacking system-type with the following, so the check in cider-classpath-libs yields the proper path separators:

(defun cider-connect-sibling-cljs-fix ()
  (interactive)
  (let (system-type)
    (cider-connect-sibling-cljs '(:cljs-repl-type figwheel-main))))

Environment & Version information

CIDER version information

;; CIDER 0.19.0snapshot (package: 20181030.2222), nREPL 0.2.12
;; Clojure 1.10.0-RC1, Java 1.8.0_181

Lein/Boot version

Lein 2.8.1

Emacs version

Emacs 26.1

Operating system

Windows 10

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!

stale[bot] commented 5 years ago

This issues been automatically closed due to lack of activity. Feel free to re-open it if you ever come back to it.