This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-10
Channels
- # announcements (4)
- # babashka (40)
- # beginners (39)
- # calva (16)
- # cljdoc (1)
- # cljs-dev (8)
- # clojure (72)
- # clojure-europe (10)
- # clojure-losangeles (1)
- # clojure-nl (4)
- # clojure-spec (9)
- # clojure-uk (12)
- # clojurescript (16)
- # community-development (15)
- # conjure (5)
- # cursive (5)
- # datomic (26)
- # eastwood (1)
- # emacs (7)
- # events (1)
- # figwheel-main (15)
- # fulcro (27)
- # graphql (7)
- # gratitude (4)
- # introduce-yourself (1)
- # malli (4)
- # meander (4)
- # off-topic (2)
- # other-languages (13)
- # polylith (7)
- # reagent (5)
- # reitit (5)
- # shadow-cljs (27)
- # spacemacs (4)
- # sql (3)
- # tools-deps (6)
- # xtdb (13)
Pulling my hair out again. Can't find anything about this error anywhere.
;;
;; ClojureScript REPL type: figwheel-main
;; ClojureScript REPL init form: (do (require 'figwheel.main) (figwheel.main/start :dev))
;;
[Figwheel] Validating figwheel-main.edn
[Figwheel] figwheel-main.edn is valid \(ツ)/
Execution error (NullPointerException) at com.google.javascript.jscomp.parsing.AutoValue_Config$Builder/setClosurePrimitiveNames (AutoValue_Config.java:197).
Null closurePrimitiveNames
This appears to be an Emacs issue. This was happening with a project so I dropped back to a minimal figwheel-main project, and am still getting the error.
I've axed everything in .lein/profiles.clj
, so I know that's not the problem this time.
I say it appears to be an emacs issue because there's no error displayed when starting from the CLI with lein fig:build -- --build dev --repl
But when launching that way, the browser hangs when attempting to go to localhost:9500
in the browser. So there may be something else going on.
I'm at the end of my tether, here, as everything was working swimmingly before I left for vacation, and I didn't change anything meanwhile. So it's something to do with my setup, but everything I've tried so far has been a dead end.
@pataprogramming Try the figwheel demo project https://github.com/bhauman/flappy-bird-demo-new
Maybe the clojurescript version is too recent and incompatible, if the demo works try downgrading to the version it uses
Thanks, @jkr.sw, I'll give it a shot
Yep, the demo project works, and downgrading ClojureScript fixes the compiler issue. Thanks.
There's another issue to chase down, but figwheel is building and the browser REPL is connecting again.