This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-14
Channels
- # adventofcode (2)
- # announcements (61)
- # babashka (26)
- # beginners (125)
- # calva (63)
- # cider (33)
- # clj-kondo (40)
- # cljs-dev (24)
- # clojure (165)
- # clojure-australia (8)
- # clojure-dev (4)
- # clojure-europe (44)
- # clojure-finland (1)
- # clojure-greece (4)
- # clojure-losangeles (1)
- # clojure-nl (28)
- # clojure-taiwan (3)
- # clojure-uk (64)
- # clojurescript (2)
- # core-async (14)
- # datomic (34)
- # docker (2)
- # fulcro (9)
- # garden (1)
- # jobs (4)
- # jobs-discuss (21)
- # kaocha (3)
- # off-topic (48)
- # pathom (4)
- # practicalli (3)
- # remote-jobs (3)
- # shadow-cljs (46)
- # spacemacs (6)
- # sql (4)
- # tools-deps (22)
- # xtdb (5)
- # yada (2)
Does anyone have an idea why a npm library used in require would work in figwheel but fail in kaocha-cljs? Works in figwheel.
(ns example.core
(:require ["firebase-admin" :as firebase]))
Fails in kaocha-cljs
Caused by: clojure.lang.ExceptionInfo: No such namespace: firebase-admin, could not locate firebase_admin.cljs, firebase_admin.cljc, or JavaScript source providing "firebase-admin" (Please check that namespaces with dashes use underscores in the ClojureScript file name) in file /Users/bobby/code/budget/src/example/core.cljs
{:tag :cljs/analysis-error}