This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-17
Channels
- # 100-days-of-code (4)
- # announcements (4)
- # aws (2)
- # beginners (88)
- # cider (1)
- # cljsrn (9)
- # clojure (126)
- # clojure-conj (4)
- # clojure-dev (8)
- # clojure-greece (1)
- # clojure-italy (37)
- # clojure-nl (3)
- # clojure-spec (13)
- # clojure-uk (91)
- # clojurescript (392)
- # clojurewerkz (1)
- # clojutre (10)
- # core-async (6)
- # cursive (5)
- # data-science (1)
- # datomic (41)
- # emacs (21)
- # events (1)
- # figwheel-main (52)
- # fulcro (2)
- # hyperfiddle (4)
- # jobs (3)
- # jobs-discuss (9)
- # luminus (3)
- # lumo (9)
- # mount (1)
- # nyc (1)
- # off-topic (73)
- # other-languages (6)
- # pedestal (8)
- # portkey (2)
- # re-frame (9)
- # reagent (8)
- # rum (17)
- # shadow-cljs (38)
- # sql (19)
- # tools-deps (18)
- # yada (4)
Hm. I'm pretty sure my cljs repl seemed to work fine, but now it doesn't have any readline support. That is, can't use previous commands or edit the current line without deleting it
Seems like it's trying to start a new nrepl server, failing due to port being bound, and then launching it in different port
Who's this jiyinyiyong? I noticed just now that there's been a bunch of new releases by him, but no commits
its @jiyinyiyong. he volunteered doing the release stuff on github. he also created http://shadow-cljs.org.
So, what's the recommended way to get a fully featured cljs repl with shadow? Go via clj repl and (shadow/repl :app)
?
there is no readline support there either. the recommended way is to hook up your editor properly.
Hmh, that doesn't work that well 😕. The first time I connect with browser, things are ok. The second time I can't require anything successfully. The require passes, but using the namespace always just complains about ReferenceError
this is kind of a problem with the REPL since the server part still thinks that the namespace is loaded
not some cache. it only checks the analyzer state and compiles it if necessary. it is not in this case so it does nothing
the watch worker shouldn't make any assumptions about which namespaces the client has loaded
Hi, Silly question but can't seem to get it right. I am running some clojurescript code on nodejs and I get goog.net.xmlhttp.js:175 return new XMLHttpRequest(); ReferenceError: XMLHttpRequest is not defined
. Any idea how I can set something like global.XMLHttpRequest = require('node-http-xhr');
?
(ns my.xhr-shim (:require ["node-http-xhr" :as xhr])) (set! js/global.XMLHttpRequest xhr)
and include that in your :main
namespace
@tomi.hukkalainen_slac the issue is will be fixed in the next release. the require
will then do what you'd expect.