Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print a better error when failing to load middleware #68

Closed
wants to merge 1 commit into from

Conversation

icambron
Copy link

@icambron icambron commented Aug 2, 2015

Finally getting around to addressing #34. Demo:

-> lein trampoline repl
REPL-y 0.3.5, nREPL 0.2.10
Clojure 1.6.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b14
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

zs.client.browser-repl=> (piggieback/cljs-repl (weasel/repl-env :ip "0.0.0.0" :port 9003))
Can't set root bindings. This is likely caused by the nrepl middleware failing to load. You may have misconfigured it, or it could be a result of running in an unsupported environment (specifically `lein trampoline repl` generally doesn't work right; run without trampoline). Exact exception below.

IllegalStateException Can't change/establish root binding of: *cljs-ns* with set  clojure.lang.Var.set (Var.java:221)

@icambron icambron closed this Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant