This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-22
Channels
- # architecture (30)
- # beginners (56)
- # cider (16)
- # cljs-dev (12)
- # cljsrn (21)
- # clojure (169)
- # clojure-austin (1)
- # clojure-estonia (1)
- # clojure-italy (3)
- # clojure-russia (1)
- # clojure-spec (56)
- # clojure-uk (46)
- # clojurescript (53)
- # consulting (3)
- # core-async (3)
- # cursive (14)
- # data-science (16)
- # datascript (1)
- # datomic (26)
- # defnpodcast (11)
- # docs (3)
- # emacs (6)
- # fulcro (4)
- # graphql (24)
- # hoplon (8)
- # instaparse (4)
- # java (2)
- # jobs (1)
- # jobs-rus (1)
- # jobs_rus (1)
- # keechma (1)
- # luminus (2)
- # lumo (1)
- # mount (36)
- # off-topic (30)
- # om-next (5)
- # onyx (29)
- # precept (23)
- # re-frame (20)
- # reagent (2)
- # remote-jobs (9)
- # ring (2)
- # ring-swagger (3)
- # rum (3)
- # shadow-cljs (100)
- # spacemacs (17)
- # sql (10)
- # timbre (2)
- # unrepl (29)
- # yada (2)
Hello! Is there any way to resolve "xyz cannot be resolved" when using a JS library (loaded from a local node_modules)? Code:
(def aws (nodejs/require "aws-sdk"))
(def sts (aws.STS. #js {"apiVersion" "2011-06-15"}))
^^^^^^^ aws.STS. cannot be resolved
Thanks!How do I start a Socket REPL with Cursive? I tried to configure a REPL with "Use clojure.main in normal JVM process" and added the -Dclojure.server.repl
JVM argument as described here: https://clojure.org/reference/repl_and_main#_launching_a_socket_server
However, that results in Error: Could not find or load main class 5555
It looks like your arguments is wrong and the port number is interpreted as a class name. Can u post a screenshot of the configuration?
I already tried to escape the spaces using \
, but that had no effect (apart from the \
being literally included in the command line: The error message changed to ... main class 5555\
).
sorry, no idea 😞
seems like you need te leave out the quotes completly, and workaround the spaces by replacing them with ,
(as , is whitespace in clojure but does not separate jvm args)
-Dclojure.server.repl={:port,5556,:accept,clojure.core.server/repl}
looks stupid but works for me
@U44SHEP4N Thanks! I'll try tomorrow. 🙂