This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-03
Channels
- # bangalore-clj (1)
- # beginners (104)
- # boot (30)
- # braveandtrue (1)
- # cider (6)
- # cljs-dev (95)
- # cljsjs (16)
- # cljsrn (3)
- # clojure (106)
- # clojure-italy (15)
- # clojure-nl (2)
- # clojure-norway (3)
- # clojure-russia (1)
- # clojure-spec (40)
- # clojure-uk (53)
- # clojure-ukraine (1)
- # clojurescript (200)
- # code-reviews (2)
- # cursive (1)
- # datascript (3)
- # datomic (32)
- # editors (28)
- # gorilla (6)
- # graphql (8)
- # hoplon (1)
- # jobs (8)
- # jobs-discuss (5)
- # jobs-rus (1)
- # keechma (13)
- # leiningen (5)
- # luminus (3)
- # lumo (53)
- # off-topic (5)
- # om (5)
- # om-next (1)
- # onyx (56)
- # parinfer (7)
- # protorepl (22)
- # re-frame (47)
- # reagent (37)
- # remote-jobs (1)
- # ring-swagger (9)
- # specter (7)
- # vim (14)
- # yada (30)
Hello,
I am currently doing an electron app in cljs.
in my code there are few (cljs.nodejs/require "")
like statements which works fine when I run the electorn app but I cannot make them run on cider.
So when I try to use cider-eval-last-sexp
the cider throws: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "call" of undefined (rhino.clj#41
is there a way I can run require with cider ?
@dpsutton fyi I fixed my cider-connect issue with the boot cljs-repl with this
(defun -cider-cljs-repl-fixup ()
(interactive)
(setq cider-repl-type "cljs")
(plist-put (cider--connection-properties (cider-current-connection)) :type "cljs"))
Hey; I’m following https://clojurescript.org/guides/javascript-modules (the new instructions re: NPM support and foreign libs). How do I do that in CIDER so that CIDER knows where to find e..g my vendored javascript?