Closed lgastako closed 8 years ago
Hi John!
The issue here is the way you're launching the repl -
To just parrot from the README quickly, the recommended workflow is:
boot dev
to start all-in-one nrepl and web serverboot repl -c
once that is ready, to connect the the nrepl server (or connect via your editor)(start-repl)
aka cha-chingIn your case, simply running boot repl
results in incomplete dependencies (as your adventure chasing piggieback et al demonstrated). The boot-cljs-repl
task actually takes care of setting up the correct environment, or warning if something is awry. But then you'd still need to compile the Clojurescript files, so that the browser can run them to connect to Weasel (enter boot-cljs), and then you might as well serve those static files (so bring in boot-http).
Thus you arrive at the boot dev
task :)
(This slightly undersells boot dev
, it also provides code-push-on-changes to that browser and that sass compilation you ordered)
I created a new project with
lein new tenzing repltest +om +sass +test
and then tried to start a cljs repl (without changing anything in the project) and I get this:So I added an explicit dependency on the latest version of piggieback:
which led to:
so I added an explicit dependency for weasel:
which gets me to this:
(no other output)
and I'm not quite sure where to go from there. Any advice would be appreciated.
Operating system is OS X for what it's worth.