This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-28
Channels
- # asami (13)
- # babashka (6)
- # beginners (38)
- # calva (14)
- # cider (15)
- # circleci (13)
- # clj-kondo (4)
- # cljsrn (18)
- # clojure (164)
- # clojure-bay-area (3)
- # clojure-europe (46)
- # clojure-italy (8)
- # clojure-losangeles (3)
- # clojure-norway (3)
- # clojure-sweden (24)
- # clojure-uk (115)
- # clojurescript (79)
- # cursive (11)
- # datomic (24)
- # docker (2)
- # events (9)
- # figwheel-main (31)
- # fulcro (5)
- # honeysql (6)
- # jackdaw (7)
- # jobs (3)
- # jobs-discuss (16)
- # joker (1)
- # kaocha (6)
- # keechma (1)
- # lein-figwheel (1)
- # malli (6)
- # pathom (10)
- # podcasts-discuss (13)
- # practicalli (3)
- # react (4)
- # reagent (3)
- # reitit (8)
- # remote-jobs (3)
- # shadow-cljs (21)
- # sql (12)
- # tools-deps (20)
- # xtdb (24)
Buongiorno! C'é qualcuno che usa cider e figwheel qua?
boh il repl cljs per funzionare funziona pero’ quando faccio lo faccio partire mi spara un’eccezione che non capisco:
{:what :uncaught-exception, :exception #error {
:cause nil
:via
[{:type java.lang.NullPointerException
:message nil
:at [java.util.regex.Matcher getTextLength Matcher.java 1283]}]
:trace
[[java.util.regex.Matcher getTextLength Matcher.java 1283]
[java.util.regex.Matcher reset Matcher.java 309]
[java.util.regex.Matcher <init> Matcher.java 229]
[java.util.regex.Pattern matcher Pattern.java 1093]
[clojure.core$re_matcher invokeStatic core.clj 4845]
[clojure.core$re_find invokeStatic core.clj 4887]
[clojure.core$re_find invoke core.clj 4887]
[cljs.analyzer$analyze_file invokeStatic analyzer.cljc 4705]
[cljs.analyzer$analyze_file invoke analyzer.cljc 4681]
[cljs.analyzer$analyze_file invokeStatic analyzer.cljc 4695]
[cljs.analyzer$analyze_file invoke analyzer.cljc 4681]
[cljs.analyzer$analyze_file invokeStatic analyzer.cljc 4691]
[cljs.analyzer$analyze_file invoke analyzer.cljc 4681]
[cljs.repl$repl_STAR_$fn__6970$fn__6971$fn__6974 invoke repl.cljc 1179]
[clojure.lang.AFn applyToHelper AFn.java 152]
[clojure.lang.AFn applyTo AFn.java 144]
[clojure.core$apply invokeStatic core.clj 667]
[clojure.core$with_bindings_STAR_ invokeStatic core.clj 1977]
[clojure.core$with_bindings_STAR_ doInvoke core.clj 1977]
[clojure.lang.RestFn invoke RestFn.java 425]
[clojure.lang.AFn applyToHelper AFn.java 156]
[clojure.lang.RestFn applyTo RestFn.java 132]
[clojure.core$apply invokeStatic core.clj 671]
[clojure.core$bound_fn_STAR_$fn__5767 doInvoke core.clj 2007]
[clojure.lang.RestFn invoke RestFn.java 397]
[clojure.lang.AFn run AFn.java 22]
[java.lang.Thread run Thread.java 748]]}, :where Uncaught exception onThread-31}
Ho provato a debuggare un po’ pero’ ed e’ proprio quando chiama (cljs/repl) e per cider non c’e’ un debugger clojurescript (almeno mi pare) quindi non so cosa possa essere il problema :thinking_face:
E la cosa sorprendente e’ che funziona tutto nonostante l’eccezione lolse hai da qualche parte un dev.cljs.edn
controlla che il contenuto abbia il :main
corretto (tipo https://cjohansen.no/tools-deps-figwheel-main-devcards-emacs/#3-add-dev-cljs-edn)