Closed gdanov closed 2 years ago
I'm also seeing this.
on version: 1.10.891
I am running into a similar errors described above. This is a screen cap from Safari, but the issue exists in general:
No errors on 1.10.879
based on this demo, https://github.com/google/closure-library/blob/master/closure/goog/demos/debug.html it looks like goog.log is what it should be moved to
So there were breaking changes in the goog.log library introduced in recent versions of the google closure compiler which translates to breaking changes in clojurescript. So if you roll the clojurescript version back you unfortunately need to roll figwheel back as well which is a pain I realize. The other solution would be for figwheel-main to abstract log calls and detect which api is in use on loading. There have been several different breaking changes to logging over the last few years.
With the current versions of figwheel and clojurescript I see a bunch of logging errors - which stops figwheel working. It may not be exactly the issue as was raised here but obviously related
Yep that checks out. Man I should never have used google closures logging system. They change it way too often, I'm going to just strip it out that way there are no backwards compatibility problems. But for now I'm going to fix the current problem.
Alrighty, I just deployed 0.2.15-SNAPSHOT and it should address all of the above issues.
Let me know if it is working for you.
Be sure to clean your compiled cljs files before checking testing it :)
Thanks all!
thanks. still seeing error thrown from https://github.com/bhauman/figwheel-core/blob/master/src/figwheel/core.cljc#L112
looks like name cannot be nil
Just a little more context: 0.2.15-SNAPSHOT + CLJS 1.10.891
thanks! I guess my last commit didn't make it into the release
Just re-deployed the SNAPSHOT. Sorry for the lost cycles.
Did it make it out? I deleted my ~/.m2
of 0.2.15-SNAPSHOT
to be sure and still seeing similar issues. 🤔
Really I'm using it locally just fine
did you clean your compiled artifacts? or is your cljs caching enabled?
At this point, I've also deleted everything in the target dir and cleared cache/hard refreshed browsers (all 3 + using incognito). The nm
error is gone now (win!) during compilation, but the browser console errors I get are:
Chrome
Firefox
This is very strange. These to look like the Javascript errors that would result from the missing 'nm' error.
Do you have :aot-cache set to true?
I just deleted my .m2 as well and launched a project generated by the figwheel-main-template and it all seems to work with the jars pulled down from clojars.
latest snapshot working for me. Thanks!
Works, Bruce!! Thanks again and apologies for the gas lighting! What worked for me:
.m2
's in main, core and repl.cpcache
(didn't need to go this far, but I was too lazy to look up the CLI command)target
compiled artifactsAppreciate you ❤️
just deployed 0.2.15 with these fixes
I'm using latest figwheel-main release with clojurescript excluded in the deps. When I switch from cljs 1.10.866 to git commit
:sha "9027c02852bbeb512cda728e5f0551145e921a9c"
I get the exception below in the browser upon first page load.I'm using that specific cljs commit because I'm testing the fix in it.