Created
January 17, 2022 00:02
-
-
Save dgtized/aa046d06c921d4cb9f7dc51ea2729459 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; You can remove this message with the <M-x cider-repl-clear-help-banner> command. | |
;; You can disable it from appearing on start by setting | |
;; ‘cider-repl-display-help-banner’ to nil. | |
;; ====================================================================== | |
;; Startup: /usr/local/bin/clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version "0.9.0"} cider/piggieback {:mvn/version "0.5.2"} refactor-nrepl/refactor-nrepl {:mvn/version "3.2.0"} cider/cider-nrepl {:mvn/version "0.28.0"}} :aliases {:cider/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}}}' -Mdev:cider/nrepl | |
;; | |
;; ClojureScript REPL type: figwheel-main | |
;; ClojureScript REPL init form: (do (require 'figwheel.main) (figwheel.main/start :dev)) | |
;; | |
[Figwheel] Compiling build dev to "target/public/cljs-out/dev-main.js" | |
[Figwheel] Successfully compiled build dev to "target/public/cljs-out/dev-main.js" in 2.446 seconds. | |
[Figwheel] Outputting main file: target/public/cljs-out/dev-main-tests.js | |
[Figwheel] Watching paths: ("src" "test") to compile build - dev | |
[Figwheel] Starting Server at http://localhost:9500 | |
[Figwheel] Starting REPL | |
Prompt will show when REPL connects to evaluation environment (i.e. a REPL hosting webpage) | |
Figwheel Main Controls: | |
(figwheel.main/stop-builds id ...) ;; stops Figwheel autobuilder for ids | |
(figwheel.main/start-builds id ...) ;; starts autobuilder focused on ids | |
(figwheel.main/reset) ;; stops, cleans, reloads config, and starts autobuilder | |
(figwheel.main/build-once id ...) ;; builds source one time | |
(figwheel.main/clean id ...) ;; deletes compiled cljs target files | |
(figwheel.main/status) ;; displays current state of system | |
Figwheel REPL Controls: | |
(figwheel.repl/conns) ;; displays the current connections | |
(figwheel.repl/focus session-name) ;; choose which session name to focus on | |
In the cljs.user ns, controls can be called without ns ie. (conns) instead of (figwheel.repl/conns) | |
Docs: (doc function-name-here) | |
Exit: :cljs/quit | |
Results: Stored in vars *1, *2, *3, *e holds last exception object | |
Opening URL http://localhost:9500 | |
To quit, type: :cljs/quit | |
nilException updating the ns-cache #error { | |
:cause nil | |
:via | |
[{:type java.lang.NullPointerException | |
:message nil | |
:at [clojure.core$name invokeStatic core.clj 1597]}] | |
:trace | |
[[clojure.core$name invokeStatic core.clj 1597] | |
[clojure.core$name invoke core.clj 1591] | |
[cider.nrepl.inlined_deps.orchard.v0v9v0.orchard.cljs.analysis$all_ns$fn__4544 invoke analysis.cljc 14] | |
[clojure.core$complement$fn__5686 invoke core.clj 1443] | |
[clojure.core$filter$fn__5907$fn__5908 invoke core.clj 2809] | |
[clojure.core.protocols$iter_reduce invokeStatic protocols.clj 49] | |
[clojure.core.protocols$fn__8162 invokeStatic protocols.clj 75] | |
[clojure.core.protocols$fn__8162 invoke protocols.clj 75] | |
[clojure.core.protocols$fn__8110$G__8105__8123 invoke protocols.clj 13] | |
[clojure.core$transduce invokeStatic core.clj 6886] | |
[clojure.core$into invokeStatic core.clj 6901] | |
[clojure.core$into invoke core.clj 6889] | |
[cider.nrepl.inlined_deps.orchard.v0v9v0.orchard.cljs.analysis$all_ns invokeStatic analysis.cljc 10] | |
[cider.nrepl.inlined_deps.orchard.v0v9v0.orchard.cljs.analysis$all_ns invoke analysis.cljc 9] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invokeStatic track_state.clj 200] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invoke track_state.clj 159] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invokeStatic track_state.clj 181] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invoke track_state.clj 159] | |
[clojure.lang.AFn applyToHelper AFn.java 156] | |
[clojure.lang.AFn applyTo AFn.java 144] | |
[clojure.core$apply invokeStatic core.clj 669] | |
[clojure.core$update_in$up__6870 invoke core.clj 6174] | |
[clojure.core$update_in invokeStatic core.clj 6175] | |
[clojure.core$update_in doInvoke core.clj 6161] | |
[clojure.lang.RestFn applyTo RestFn.java 146] | |
[clojure.core$apply invokeStatic core.clj 673] | |
[clojure.core$binding_conveyor_fn$fn__5772 doInvoke core.clj 2045] | |
[clojure.lang.RestFn applyTo RestFn.java 146] | |
[clojure.lang.Agent$Action doRun Agent.java 114] | |
[clojure.lang.Agent$Action run Agent.java 163] | |
[java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java 1149] | |
[java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 624] | |
[java.lang.Thread run Thread.java 748]]} | |
user> | |
cljs.user> (+ 1 2) | |
3Exception updating the ns-cache #error { | |
:cause nil | |
:via | |
[{:type java.lang.NullPointerException | |
:message nil | |
:at [clojure.core$name invokeStatic core.clj 1597]}] | |
:trace | |
[[clojure.core$name invokeStatic core.clj 1597] | |
[clojure.core$name invoke core.clj 1591] | |
[cider.nrepl.inlined_deps.orchard.v0v9v0.orchard.cljs.analysis$all_ns$fn__4544 invoke analysis.cljc 14] | |
[clojure.core$complement$fn__5686 invoke core.clj 1443] | |
[clojure.core$filter$fn__5907$fn__5908 invoke core.clj 2809] | |
[clojure.core.protocols$iter_reduce invokeStatic protocols.clj 49] | |
[clojure.core.protocols$fn__8162 invokeStatic protocols.clj 75] | |
[clojure.core.protocols$fn__8162 invoke protocols.clj 75] | |
[clojure.core.protocols$fn__8110$G__8105__8123 invoke protocols.clj 13] | |
[clojure.core$transduce invokeStatic core.clj 6886] | |
[clojure.core$into invokeStatic core.clj 6901] | |
[clojure.core$into invoke core.clj 6889] | |
[cider.nrepl.inlined_deps.orchard.v0v9v0.orchard.cljs.analysis$all_ns invokeStatic analysis.cljc 10] | |
[cider.nrepl.inlined_deps.orchard.v0v9v0.orchard.cljs.analysis$all_ns invoke analysis.cljc 9] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invokeStatic track_state.clj 200] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invoke track_state.clj 159] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invokeStatic track_state.clj 181] | |
[cider.nrepl.middleware.track_state$update_and_send_cache invoke track_state.clj 159] | |
[clojure.lang.AFn applyToHelper AFn.java 156] | |
[clojure.lang.AFn applyTo AFn.java 144] | |
[clojure.core$apply invokeStatic core.clj 669] | |
[clojure.core$update_in$up__6870 invoke core.clj 6174] | |
[clojure.core$update_in invokeStatic core.clj 6175] | |
[clojure.core$update_in doInvoke core.clj 6161] | |
[clojure.lang.RestFn applyTo RestFn.java 146] | |
[clojure.core$apply invokeStatic core.clj 673] | |
[clojure.core$binding_conveyor_fn$fn__5772 doInvoke core.clj 2045] | |
[clojure.lang.RestFn applyTo RestFn.java 146] | |
[clojure.lang.Agent$Action doRun Agent.java 114] | |
[clojure.lang.Agent$Action run Agent.java 163] | |
[java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java 1149] | |
[java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 624] | |
[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