luminus

manandearth 2018-10-05T16:05:16.000100Z

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.

yogthos 2018-10-08T23:03:40.000100Z

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

manandearth 2018-10-05T16:09:04.000100Z

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

manandearth 2018-10-05T16:11:31.000100Z

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.

manandearth 2018-10-05T16:15:08.000100Z

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