This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-26
Channels
- # announcements (1)
- # asami (7)
- # aws (3)
- # babashka (30)
- # beginners (21)
- # calva (48)
- # cider (11)
- # clj-commons (5)
- # clj-kondo (12)
- # cljdoc (5)
- # cljfx (1)
- # cljs-dev (32)
- # cljsrn (4)
- # clojure (218)
- # clojure-europe (88)
- # clojure-nl (11)
- # clojure-uk (31)
- # clojurescript (8)
- # cursive (98)
- # data-science (6)
- # datomic (49)
- # emacs (12)
- # events (4)
- # fulcro (47)
- # graalvm (3)
- # graphql (4)
- # introduce-yourself (5)
- # java (13)
- # juxt (9)
- # lsp (74)
- # meander (3)
- # membrane (4)
- # missionary (31)
- # off-topic (24)
- # pathom (41)
- # portal (4)
- # reagent (3)
- # releases (1)
- # remote-jobs (3)
- # rewrite-clj (4)
- # shadow-cljs (10)
- # slack-help (2)
- # testing (20)
- # tools-deps (43)
Has anyone tried building an :esm
library that used tick? I’m stuck trying to figure out why
Uncaught ReferenceError: assignment to undeclared variable JSJodaLocale
happens. I saw this when I compiling
------ WARNING #1 - -----------------------------------------------------------
File: ~/.m2/repository/tick/tick/0.4.32/tick-0.4.32.jar!/tick/locale_en_us.cljc:5:31
--------------------------------------------------------------------------------
2 | #?(:cljs (:require ["@js-joda/locale_en-us" :as js-joda-locale])))
3 |
4 | ; doing this for the one-arity tick.format/formatter. (npm users don't get js/JSJodaLocale global automatically)
5 | #?(:cljs (set! js/JSJodaLocale js-joda-locale))
-------------------------------------^-------------------
so I thought import
ing that @js-joda/locale_en-us
manually would solve the problem but that just moved the goal post to
Uncaught TypeError: root is undefined
fyi tick 0.5 changes things round a bit https://widdindustries.com/tick-is-out-of-alpha/