Created
April 1, 2015 01:27
-
-
Save iwillig/12fe2a098ca71b873312 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
ivan1@Ivans-MBP> make repl ~/dev/clubhouse/cli | |
rlwrap java -cp cljs.jar:src clojure.main repl.clj | |
Reading analysis cache for jar:file:/Users/ivan1/dev/clubhouse/cli/cljs.jar!/cljs/core.cljs | |
Compiling src/cli/core.cljs | |
Reading analysis cache for jar:file:/Users/ivan1/dev/clubhouse/cli/cljs.jar!/cljs/nodejs.cljs | |
Compiling out/cljs/nodejs.cljs | |
ClojureScript Node.js REPL server listening on 49293 | |
Watch compilation log available at: out/watch.log | |
To quit, type: :cljs/quit | |
ClojureScript:cljs.user> (require '[cljs.nodejs :as node]) | |
nil | |
ClojureScript:cljs.user> (node/require "path") | |
repl:13 | |
throw e__3919__auto__; | |
^ | |
RangeError: Maximum call stack size exceeded | |
at Object.join (native) | |
at Object.goog.string.buildString (/Users/ivan1/dev/clubhouse/cli/out/goog/string/string.js:1140:31) | |
at Object.cljs.core.str.cljs$core$str__1 (/Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:2465:11) | |
at Object.cljs.core.str.cljs$core$str [as str] (/Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:2466:9) | |
at [object Object].cljs.core.Keyword.cljs$core$IPrintWithWriter$_pr_writer$arity$3 (/Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:2793:43) | |
at Object.cljs$core$pr_writer_impl [as pr_writer_impl] (/Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:8490:39) | |
at cljs$core$pr_writer (/Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:8544:6) | |
at /Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:8640:12 | |
at Object.cljs$core$pr_sequential_writer [as pr_sequential_writer] (/Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:8427:16) | |
at cljs$core$print_map (/Users/ivan1/dev/clubhouse/cli/out/cljs/core.cljs:8637:4) | |
ClojureScript:cljs.user> (def path (node/require "path")) | |
repl:13 | |
throw e__3919__auto__; | |
^ | |
RangeError: Maximum call stack size exceeded |
This file contains hidden or 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
(require 'cljs.repl) | |
(require 'cljs.closure) | |
(require 'cljs.repl.node) | |
(cljs.closure/build "src" | |
{:main 'cli.core | |
:output-to "out/main.js" | |
:verbose true}) | |
(cljs.repl/repl (cljs.repl.node/repl-env) | |
:watch "src" | |
:output-dir "out") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment