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
Not sure where the best place to post this, but figured I'd start here since having an awesome Om and ClojureScript tutorial experience is so important!
Following the tutorial, I add a connection to a Browser (External), grab the script tag, paste it inside the body tag of index.html. I opened the local file in Chrome, open web inspector, and refresh.
I don't see the XHR finished loading... message on the console, but I can see the request for ws.js succeeds and that code runs. I can also see the socket.io connection is opened successfully, with the init message is sent and heartbeat messages being set back and forth.
Being optimistic, and since I don't see a console.log in the ws.js code, I also tried to eval a line in core.cljs to update the atom as in the tutorial. When I try to evaluate with cmd+enter, LightTable UI looks like it's connecting:
We couldn't connect.
Looks like there was an issue trying to connect to the project. Here's what we got:
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: cljs/*cljs-warn-on-undeclared* in this context, compiling:(lighttable/hub/clj/eval.clj:218:7)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6567)
at clojure.lang.Compiler.analyze(Compiler.java:6361)
at clojure.lang.Compiler.analyze(Compiler.java:6322)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3624)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6562)
at clojure.lang.Compiler.analyze(Compiler.java:6361)
at clojure.lang.Compiler.analyze(Compiler.java:6322)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3624)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6562)
Anyone experience anything similar, or have insight as to whether this is a LightTable bug or something I'm not setting up correctly here? Thanks!
The text was updated successfully, but these errors were encountered:
It worked for me, I also was thrown off by not seeing the xhr message in the JS console. I didn't modify the code, just pasted the swap statement at the end of the file and cmd+entered it and it worked (after taking a minute to connect)
Not sure where the best place to post this, but figured I'd start here since having an awesome Om and ClojureScript tutorial experience is so important!
Following the tutorial, I add a connection to a
Browser (External)
, grab the script tag, paste it inside thebody
tag of index.html. I opened the local file in Chrome, open web inspector, and refresh.I don't see the
XHR finished loading...
message on the console, but I can see the request forws.js
succeeds and that code runs. I can also see the socket.io connection is opened successfully, with the init message is sent and heartbeat messages being set back and forth.Being optimistic, and since I don't see a console.log in the
ws.js
code, I also tried to eval a line incore.cljs
to update the atom as in the tutorial. When I try to evaluate with cmd+enter, LightTable UI looks like it's connecting:(FWIW, I've used your awesome https://github.com/swannodette/lt-cljs-tutorial with no problems).
But then I get this error message in LightTable.
Anyone experience anything similar, or have insight as to whether this is a LightTable bug or something I'm not setting up correctly here? Thanks!
The text was updated successfully, but these errors were encountered: