Closed JanDornbusch closed 1 month ago
See https://github.com/reagent-project/reagent/issues/585
Since the ticket is closed I assume the warning will go away if you upgrade to the latest reagent
version. shadow-cljs
is working correctly here, so not really shadow-cljs
related issue.
Thanks for pointing towards the solution. I wasn't sure and hadn't found that one, as some older versions were working probably without changing reagent I have to confess I hadn't checked there neither. My fault and apologies!
How to reproduce
Steps to reproduce: get a new computer (In my case Win11, which I am not allowed to change) and install everything fresh (old system runs on old versions without problems)
Preparing the test (I know some parameters superseded others)
altering the version of luminus from
2.20.3
to be2.28.7
(remember to do it inproject.clj
andpackage.json
. Lookup the matching closure compiler version on clojars and set it accordingly. (Hopefully none of the other libraries cause the problem here)Start shadow by:
Do not forget tot startup the server separatly (will create another issue with the compability problem). First load of page succeeds. Open up the core.cljs of luminus project and just save it again the following warning will appear:
The Problem
When does it appear and how to solve?
As far I have tracked it down
2.20.16
was the last working version not warning about it, leading me to assume that it is not related to #753?As it's out of the box template which solution might be the better one? Suspress the warning on macros like with-let of reagent? Or altering either luminus or reagents code to supply a propper type?