-
Notifications
You must be signed in to change notification settings - Fork 151
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
Unresponsive repl on firefox-naked #187
Comments
Can you fill in some details on what happens before things are unresponsive? Does Firefox start? Is the REPL's prompt displayed? Is there any interesting output before it hangs? |
Firefox starts, and the repl is displayed, no interesting output. Typing works, but evaling something like (+ 1 1) doesn't give any feedback. Only output from Firefox is a warning about undeclared character encoding. I've tried to duplicate the naked goal for another project with the same results. A chrome-naked goal also has the same result. |
If I refresh the browser after launch I get a error not displayed at first launch: [13:57:46.790] Error: URI file:/robots.txt is invalid for field ppu |
I get the same issue, except that I'm using Chromium and repl-listen (although I'm sure the same thing would happen if I used repl-launch). I can fix it by adding a dependency in my project.clj to an old release of ClojureScript, specifically: :dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/clojurescript "0.0-1513"]] I'm pretty sure that this has something to do with the google-closure-library-third-party dependency thing mentioned in CLJS-418, because 0.0-1513 is the first release before the update that caused that problem, and because the REPL hangs when I use the next release of ClojureScript, 0.0-1535, which comes after that update. One thing I've noticed is that when the browser-connected REPL is working correctly and I press Ctrl-C to stop it, Chromium prints "Failed to load resource http://localhost:9000/" in the JavaScript console, I'm guessing indicating that the long-polling XmlHttpRequest failed because I killed the REPL server. But when the REPL is hanging/not working and I Ctrl-C out of it, Chromium doesn't print out anything in the console, maybe indicating that it never really connected to the REPL in the first place? I don't know; that's just a guess, but hopefully it helps. It also only seems to be important to have the dependency on the old version of ClojureScript when I run repl-listen, so I can compile the code with the latest version of ClojureScript and then run repl-listen with 0.0-1513 and it will still work. |
Is this still a problem? |
Can't reproduce, and no response for 3 months, closing. |
I'm having this problem, clojurescript 0.0-2080, lein-cljsbuild 1.0.1-SNAPSHOT, Chrome 31.0.1650.57, OSX 10.8.5 Just tested, same with incognito window and Safari 6.1, so unfortunately not cemerick/austin#17 Nvm, seems the documentation here: https://github.com/emezeske/lein-cljsbuild/blob/master/doc/REPL.md is out of date. Renaming my repl.html to index.html and browsing to localhost:9000 worked. |
I think it's worth noting that this happens consistently (with the hang and I've also seen the robots.txt error) when I forget to call |
For anyone else finding this, it was the first thing I found when googling this error message -- turns out to mean "run a webserver, not |
I get the same error while following the clojurescript getting started guide with On In
and in
When I open
-- and console of |
With 0.3.0 (0862e71), "lein trampoline cljsbuild repl-launch firefox-naked" at example-projects/advanced results in a unresponsive (non-working) repl.
Leiningen 2.0.0 on Java 1.7.0_13 Java HotSpot(TM) 64-Bit Server VM
The text was updated successfully, but these errors were encountered: