geometer icon indicating copy to clipboard operation
geometer copied to clipboard

“Boot dev” failes to boot

Open stewdio opened this issue 4 years ago • 3 comments

When running the command boot dev (or boot run, etc.) from the command line, I receive the following error:

java.lang.IllegalStateException: template already refers to: #'boot.core/template in namespace: adzerk.boot-reload
     clojure.lang.ExceptionInfo: template already refers to: #'boot.core/template in namespace: adzerk.boot-reload
    line: 1

As I’m new to this, I don’t know how to resolve it on my own 😅 But I imagine this error is due to some upstream update that’s happened since this repo was last touched?

stewdio avatar Oct 27 '21 13:10 stewdio

Indeed, upstream changes in a third party build tool have broken this repo. I've got a TODO to switch to the standard Clojure build/deps system, but haven't gotten around to it yet. This ticket and interest on Twitter have led me to raise the priority on that, so I should get to it within a week or so. :)

jackrusher avatar Oct 28 '21 06:10 jackrusher

I switched to deps/bb on my fork: https://github.com/MrGung/geometer/tree/removing-boot

There is a runtime-error, though, which I couldn't get rid of...

MrGung avatar Nov 05 '21 09:11 MrGung

@MrGung I've also switched to deps, but there are still problems. The version of geom used here does something that's illegal in later versions of the ClojureScript compiler, which are expected by Figwheel and such. Unfortunately, upgrading geom exposed a different breaking change in how WebGL buffers are handled. I have not yet had time to read the source to figure out what I need to change to make this code work with that version.

jackrusher avatar Nov 05 '21 10:11 jackrusher