This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-21
Channels
- # announcements (9)
- # beginners (222)
- # boot (11)
- # calva (40)
- # cider (1)
- # clj-kondo (10)
- # cljs-dev (1)
- # cljsrn (8)
- # clojars (4)
- # clojure (50)
- # clojure-dev (4)
- # clojure-ecuador (1)
- # clojure-europe (4)
- # clojure-italy (3)
- # clojure-madison (2)
- # clojure-nl (26)
- # clojure-spec (86)
- # clojure-uk (34)
- # clojurescript (11)
- # clr (1)
- # cursive (46)
- # datomic (19)
- # emacs (4)
- # events (1)
- # fulcro (22)
- # graalvm (4)
- # graphql (2)
- # jobs-discuss (40)
- # leiningen (10)
- # luminus (6)
- # nrepl (7)
- # off-topic (18)
- # onyx (6)
- # overtone (1)
- # pedestal (2)
- # planck (1)
- # re-frame (5)
- # reagent (3)
- # reitit (8)
- # rewrite-clj (2)
- # shadow-cljs (139)
- # sql (4)
- # tools-deps (42)
@chrisjswanson most likely using the wrong require. all that message means is that SendBird
is not defined. probably need (:require ["sendbird" :default SendBird])
then later (SendBird. ...)
hm let me double check
Is this way different ?
(:require
["sendbird" as sendbird])
(sendbird/SendBird. ....)
yes :as
is incorrect in this case. see the translation table here https://shadow-cljs.github.io/docs/UsersGuide.html#_using_npm_packages
interesting.. thanks, that is super helpful
yes translation table showed me the correct way
now it works; thanks again!