This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-28
Channels
- # adventofcode (2)
- # aleph (4)
- # announcements (3)
- # asami (13)
- # babashka (27)
- # beginners (74)
- # clj-kondo (18)
- # cljdoc (1)
- # cljs-dev (27)
- # cljsrn (5)
- # clojure (75)
- # clojure-australia (5)
- # clojure-europe (25)
- # clojure-uk (2)
- # conjure (1)
- # core-logic (1)
- # deps-new (1)
- # fulcro (13)
- # gratitude (8)
- # honeysql (1)
- # lsp (24)
- # missionary (45)
- # mount (2)
- # nextjournal (24)
- # off-topic (10)
- # pathom (5)
- # portal (3)
- # releases (1)
- # shadow-cljs (7)
- # specter (1)
- # tools-deps (1)
I am having some issues with shadowCljs and importing a compenent where I use ajax.core to fetch some data. When fire-ing up the REPL with Calva I get the following import error. Anyone encountered this?
========= Running Tests =======================
SHADOW import error /Users/hagenek/repos/reframe-reagent/todana/.shadow-cljs/builds/test/dev/out/cljs-runtime/todana.components.gigpage.api.js
/Users/hagenek/repos/reframe-reagent/todana/.shadow-cljs/builds/test/dev/out/cljs-runtime/goog/net/xmlhttp.js:173
return new XMLHttpRequest();
^
ReferenceError: XMLHttpRequest is not defined
I had a similar problem. How do we fix it?
In the docs, section https://shadow-cljs.github.io/docs/UsersGuide.html#_project_clj_leiningen, it says "For example :lein {:profiles "+cljs"}
". Should that be :profile
?