Fork me on GitHub
#luminus
<
2018-10-05
>
manandearth16:10:16

A question to whoever is familiar with the guestbook tutorial in Dmitri's book. I am trying to add Clojurescript support to the original guestbook app from the first tutorial. (this is chapter 4 ). following the instructions in the Add Clojurescript Support section, which include adding the org.clojure/clojurescript dependency and plugin and :cljs key, I get a 500 error on the home.html when I run lein.

yogthos23:10:40

could you provide the error you're seeing, if you get a 500 that's unrelated to ClojureScript compilation as it means there's a problem serving the request server side

manandearth16:10:04

Since I have no experience in clojurescript at all, I don't know haw to debug this. I am comparing it file by file to the completed project that can be found in the Pragmatic Bookshelf website: https://pragprog.com/titles/dswdcloj2/source_code and to the one page tutorial in Luminusweb: http://www.luminusweb.net/docs/clojurescript.html

manandearth16:10:31

but that's a bit of a fuff... as I am not familiar with all the components that appear later in the chapter, and at this stage the project has no clojurescript functionality or Reagent.

manandearth16:10:08

and yes... I updated the html templates as instructed and ran lein cljsbuild once before lein run