Open tragiclifestories opened 2 years ago
I can reproduce the problem locally. It looks like the problem comes from the way nrepl is started in the guestbook.nrepl
namespace. If I comment out the reference to it from guestbook.core
then the problem goes away. I'll need to do a bit of investigating to see what the specific issue is.
Hi there,
After a long absence from Clojure I thought I would take a look at Dmitri's book and I've hit a peculiar problem after generating a new project as per the instructions
lein new luminus guestbook --template-version 3.91 -- +h2 +http-kit
. (The problem I'm about to describe also affects the current template version and does not seem to have anything to do with h2 or http-kit).I start a REPL with
lein repl
; this is using nrepl 0.8.3 and cider-nrepl 0.26.0 (the latest versions at time of writing). When I evaluate a simple form in Vim with fireplace it works fine. When I use Fireplace'sRequire!
command (which boils down to(require :reload-all)
I get errors from deep in nrepl.So why is the issue here and not in one of those other projects?
At first I assumed that my Vim setup had just rotted over the years. But a fresh install of emacs + spacemacs, jacking Cider into my repl process, had the same problems for the equivalent command.
I tried it on both my work (intel) macbook and my personal Linux machine - both exhibited the same error.
I then started trying it in different projects, using different templates. I have not yet found one that generates these errors apart from the luminus template.
Sorry if this is a misunderstanding on my part but I'm pretty much stumped at this point and googling the error message returns nothing relevant ...