I will a need a way to reproduce the issue without piggieback. Do you have a complete minimal case that I can look at?
Thanks, David On Fri, May 8, 2015 at 2:32 AM, John Chijioke <[email protected]> wrote: > On Wednesday, May 6, 2015 at 3:56:41 PM UTC+1, David Nolen wrote: > > Haven't seen this. Will need more a lot information about what you > attempted. > > > > > > Thanks, > > David > > > > > > On Wed, May 6, 2015 at 10:53 AM, John Chijioke <[email protected]> > wrote: > > I get the above error when initializing cljs repl. > > > > > > > > Has anyone got the same issue? > > > > > > > > > > > > -- > > > > Note that posts from new members are moderated - please be patient with > your first post. > > > > --- > > > > You received this message because you are subscribed to the Google > Groups "ClojureScript" group. > > > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > > > To post to this group, send email to [email protected]. > > > > Visit this group at http://groups.google.com/group/clojurescript. > > Hello, > > I tried to be sure this was not a fault of piggieback therefore I spent > days tracing this issue. As it turns out it is not and has more to do with > the init require calls that happens in the browser. > > I tried the cljs repl with and without piggieback and it returned the same > error in both cases. > > The actual code from piggieback is > > ```clojure > (ns cljs.user > (:require [cljs.repl :refer-macros (source doc find-doc > apropos dir pst)])) > ``` > > I also trief adding the code from -repl-options of browser env to the > above it only resulted in several more calls from browser to the server and > still ended with the Range Errors. > > > Regardless of whether it happens before the browser has connected or not > the above code throws the folowing error: > > ``` > RangeError: Maximum call stack size exceeded > RangeError: Maximum call stack size exceeded > at cljs$core$_EQ_ ( > http://localhost:30000/generated-js/cljs/core.js:4812:42) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:207:19) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > at Object.clojure.browser.repl.bootstrap.goog.require [as require__] ( > http://localhost:30000/generated-js/clojure/browser/repl.js:227:16) > ``` > > As a side effect this creates a bug in piggieback where the print function > does not get called in order to set the *cljs-compiler-env* var on first > call. > > Regards, > John > > N/B: I tried to format the codes but I don't know if it will work. David > can you tell me how you do it? > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
