This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-20
Channels
- # admin-announcements (5)
- # alda (1)
- # aws-lambda (1)
- # beginners (74)
- # boot (62)
- # cider (29)
- # cljs-dev (36)
- # cljsjs (15)
- # cljsrn (34)
- # clojure (58)
- # clojure-android (3)
- # clojure-austin (15)
- # clojure-austria (11)
- # clojure-dusseldorf (25)
- # clojure-germany (6)
- # clojure-greece (26)
- # clojure-quebec (8)
- # clojure-russia (50)
- # clojure-spec (12)
- # clojure-uk (8)
- # clojurescript (46)
- # core-async (11)
- # cursive (22)
- # datomic (2)
- # devcards (27)
- # dirac (5)
- # hoplon (109)
- # jobs (1)
- # kekkonen (2)
- # lein-figwheel (12)
- # leiningen (2)
- # microservices (1)
- # off-topic (3)
- # om (70)
- # onyx (17)
- # planck (21)
- # re-frame (3)
- # reagent (2)
- # rum (1)
- # spacemacs (12)
- # spirituality-ethics (9)
- # untangled (44)
- # vim (2)
- # yada (8)
basically, I create new https://github.com/reagent-project/reagent-frontend-template reagent frontend project, and when I state lein figwheel
in my terminal in order to start it for the first time it does not, even if the messages shown in my terminal show no warnings/errors/anything - just hanging on this:
Prompt will show when Figwheel connects to your application
. When I go to localhost:3449 it states: _Figwheel Server: Resource not found
Keep on figwheelin'_When using implicit macro loading (described here: https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure#namespaces), does the :refer
option also implicitly refer macros?
@vandr0iy: I just tested it here on my machine and I confirm that it does not work, behaves like you describe
I moved their public
folder under newly created resources
and commented out their extra config overriding resource locations and it works
@anmonteiro: yep async
anyways, it is still freezing - as before, not showing the repl, and the browser spits a load of these warnings:
Hi, I added dependencies to project.clj:
:dependencies [...
[reagent "0.6.0-rc"]
[posh "0.3.5"]
[datascript "0.13.3"]...
but when requiring them in my cljs file I get No such namespace: ...
error. When running lein deps :tree I see those dependencies.
What I miss?Morning everyone. I'd like to use https://cloudflare.github.io/cf-ui/ in my project and can't work out how to get it loaded into ClojureScript. Any advice?
I will add that lein cljsbuild once
compiles with success but cursive and fighweel reports missing namespaces
@dhucerbin: When you’ve added deps to Cursive, you need to refresh your lein dependencies. You can do that in View->Tool Windows->Leiningen and press the refresh button, or search for the action “Refresh Leiningen Projects" with Cmd-Shift-A
However if Figwheel is reporting problems too, your problem may be something else - that’s a Cursive specific fix.
@dhucerbin: it’d be easier if you post full project.clj and full error stacktrace
Oh, I see that in cursive I have now posh, reagent, datascript under 'externall libraries'
@dhucerbin: Right. Cursive needs to know which dependencies your project uses, and currently refreshing that list after updating your project.clj is manual.
(I'm primary js developer and I'm familiar with npm install and then I have my dependency in node_modules directory, It's there something like that?)
@dhucerbin: So Figwheel uses the dependencies from the project.clj, yes. But it doesn’t require them to be synced to IntelliJ, so the refresh step above won’t do anything for it. If you update your project.clj, you’ll need to restart Figwheel for it to pick those deps up, I believe.
But I’m no figwheel expert, there are bound to be people here who know much more than I do about it.
I belive I found an issue using int-in
on Clojurescript 1.9.76
, can someone else confirm that? any usage of cljs.spec/int-in
is failing here with No such namespace: c, could not locate c.cljs, c.cljc, or Closure namespace ""
@wilkerlucio: can’t confirm at the moment but I would not be surprised
@wilkerlucio: Yes. Confirmed. We had to expand the c
alias and this is a new instance of that. (simple changes like this https://github.com/clojure/clojurescript/commit/8477f19dcf67a8f305b46f2fd2e793586e027263)