This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-05
Channels
- # 100-days-of-code (13)
- # announcements (3)
- # beginners (120)
- # boot (17)
- # calva (19)
- # cider (27)
- # cljdoc (3)
- # cljs-dev (1)
- # clojure (138)
- # clojure-dev (5)
- # clojure-italy (5)
- # clojure-nl (20)
- # clojure-russia (3)
- # clojure-spec (14)
- # clojure-uk (119)
- # clojurescript (45)
- # core-async (2)
- # datomic (23)
- # editors (28)
- # emacs (35)
- # figwheel (2)
- # fulcro (26)
- # graphql (2)
- # hyperfiddle (11)
- # jobs (4)
- # luminus (5)
- # mount (2)
- # off-topic (52)
- # onyx (39)
- # reagent (86)
- # ring-swagger (2)
- # spacemacs (20)
- # tools-deps (9)
- # yada (4)
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.
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
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
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.
and yes... I updated the html templates as instructed and ran lein cljsbuild once
before lein run