You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not work. When I run it, it hangs on "Waiting for browser to connect ...".
Running the repl gives me this:
$ lein trampoline cljsbuild repl-launch phantom-naked
Running ClojureScript REPL and launching command: (phantomjs phantom/repl.js resources/private/html/naked.html)
Compiling ClojureScript...
WARNING: lein-cljsbuild crossovers are deprecated, and will be removed in future versions. See https://github.com/emezeske/lein-cljsbuild/blob/master/doc/CROSSOVERS.md for details.
Compiling client js ...
Waiting for browser to connect ...
The repl is setup to output the stdout and stderr of the commmand to .repl-phantom-naked-out and .repl-phantom-naked-err respectively. The content of those files is:
$ cat .repl-phantom-naked-out
Loading URL: resources/private/html/naked.html
Loaded successfully.
Error: URI file:/robots.txt is invalid for field ppu
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:2016 in CrossPageChannel
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:2093 in cljs$core$IFn$_invoke$arity$0
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:2092 in xpc_connection
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:2119 in start_evaluator
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:2127
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:1732 in fireListener
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:1735 in handleBrowserEvent_
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22sBuTv8S9mu%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22ppu%22%3A%22file%3A%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D:1724
The advanced project is configured to allow running a phantomjs powered repl with
This does not work. When I run it, it hangs on "Waiting for browser to connect ...".
Running the repl gives me this:
The repl is setup to output the stdout and stderr of the commmand to
.repl-phantom-naked-out
and.repl-phantom-naked-err
respectively. The content of those files is:Looks like it tries to load
file:/robots.txt
and fails for some reason. I've done some digging and I think that the culprit is: https://github.com/google/closure-library/blob/8bbc453a8808aa77af91f959fb0dc97be058cd97/closure/goog/net/xpc/crosspagechannel.js#L111,L121Also, this issue is very similar to #187
The text was updated successfully, but these errors were encountered: