Fork me on GitHub
#clojurescript
<
2021-01-14
>
puppybits23:01:29

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}