This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-11
Channels
- # architecture (11)
- # bangalore-clj (1)
- # beginners (42)
- # boot (28)
- # chestnut (1)
- # cider (1)
- # cljs-dev (28)
- # cljsrn (7)
- # clojure (124)
- # clojure-austin (1)
- # clojure-italy (10)
- # clojure-russia (3)
- # clojure-spec (29)
- # clojure-uk (32)
- # clojurescript (62)
- # core-async (22)
- # data-science (7)
- # datascript (5)
- # datomic (8)
- # events (1)
- # fulcro (15)
- # funcool (1)
- # jobs (1)
- # keechma (10)
- # lein-figwheel (4)
- # lumo (4)
- # mental-health (1)
- # off-topic (21)
- # om (10)
- # onyx (8)
- # parinfer (29)
- # pedestal (1)
- # planck (4)
- # portkey (2)
- # protorepl (1)
- # random (1)
- # re-frame (12)
- # ring (3)
- # spacemacs (6)
- # uncomplicate (63)
I’ve checked out fulcro-template yesterday, but I am having difficulties with compiling the clojurescript. When I start the figwheel REPL, it gives the error
Failed to compile "resources/public/js/test/test.js" in 31.183 seconds.
---- Could not Analyze resources/public/js/test/fulcro/client/routing.cljc ----
No such namespace: cljs.loader, could not locate cljs/loader.cljs, cljs/loader.cljc, or Closure namespace "cljs.loader"
---- Analysis Error : Please see resources/public/js/test/fulcro/client/routing.cljc ----
I’ve tried updating the clojurescript version to 1.9.854, but I keep getting the same result.Googling this gave me no guidance. Does anyone have an idea what the problem and a solution may be?I was working on dynamic loading in fulcro. I didn’t realize that got pushed into the template yet. Your solution is the right one though..unless you’re still ending up with the wrong version of cljs
I just released 1.0.0-beta7. The updated template uses it. Some important notes:
1. I had to change the networking API due to a circular dependency. app
is no longer passed to start. If you’ve written custom networking, you’ll have to send app to it from the started callback. See upload_server.clj for an example.
2. As a result of (1), fulcro-spec 1.0.0-beta7 is required if you’re working with 1.0.0-beta7 of fulcro.
The devguide has a number of improvements, and there is now a partially written reference guide.
@tony.kay I’ve pulled the changes and had some trouble, but after checking out the whole project again, it worked 🙂!
has anyone used hugsql
with the setup from fulcro-template ? Trying to get it to reload on server restart.
@claudiu I would think if you reload the clj namespaces that call def-db-fns and such it should work. Are those paths part of set-refresh-dirs
?
@tony.kay yes. Will give it a try with a fresh fulcro-template, maybe my setup has something. It does have that strange part with read .sql & generate the functions in the namespace, thinking reload needs special attention because of that.
@a.espolov yup, this is more outside of fulcro concern actually, but yes