Skip to content

Instantly share code, notes, and snippets.

@mfikes
Created March 24, 2018 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfikes/f7a08422c5823181d849a2f0520ba4f5 to your computer and use it in GitHub Desktop.
Save mfikes/f7a08422c5823181d849a2f0520ba4f5 to your computer and use it in GitHub Desktop.
user=> (require 'cljs.repl.node)
nil
user=> (cemerick.piggieback/cljs-repl (cljs.repl.node/repl-env))
To quit, type: :cljs/quit
nil
cljs.user=> 3
3
cljs.user=> 3
Exception in thread "nREPL-worker-2" java.lang.NullPointerException
{"type":"result","repl":"nREPL-worker-2","status":"success","value":"true"} at cljs.repl.node$node_eval.invokeStatic(node.clj:66)
at cljs.repl.node$node_eval.invoke(node.clj:60)
at cljs.repl.node.NodeEnv._evaluate(node.clj:234)
at user.Delegatingcljs_repl_node_NodeEnv._evaluate(form-init3242752723580897715.clj:122)
at cljs.repl$evaluate_form.invokeStatic(repl.cljc:553)
at cljs.repl$evaluate_form.invoke(repl.cljc:484)
at cljs.repl$repl_STAR_.invokeStatic(repl.cljc:930)
at cljs.repl$repl_STAR_.invoke(repl.cljc:839)
at cemerick.piggieback$run_cljs_repl.invokeStatic(piggieback.clj:169)
at cemerick.piggieback$run_cljs_repl.invoke(piggieback.clj:155)
at clojure.lang.AFn.applyToHelper(AFn.java:171)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invokeStatic(core.clj:650)
at clojure.core$apply.invoke(core.clj:641)
at cemerick.piggieback$evaluate.invokeStatic(piggieback.clj:259)
at cemerick.piggieback$evaluate.invoke(piggieback.clj:255)
at clojure.lang.Var.invoke(Var.java:379)
at cemerick.piggieback$wrap_cljs_repl$fn__1245$fn__1247$fn__1248.invoke(piggieback.clj:291)
at cemerick.piggieback$enqueue$fn__1231.invoke(piggieback.clj:247)
at clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__674.invoke(interruptible_eval.clj:159)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment