This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-08
Channels
- # announcements (5)
- # babashka (46)
- # beginners (206)
- # boot (1)
- # bristol-clojurians (1)
- # calva (9)
- # chlorine-clover (27)
- # cider (1)
- # clara (10)
- # clj-kondo (105)
- # cljsrn (2)
- # clojars (1)
- # clojure (104)
- # clojure-europe (6)
- # clojure-nl (2)
- # clojure-uk (18)
- # clojurescript (44)
- # conjure (10)
- # core-async (34)
- # cursive (28)
- # data-science (6)
- # datomic (14)
- # emacs (44)
- # events (1)
- # figwheel-main (1)
- # fulcro (13)
- # graphql (9)
- # helix (12)
- # kaocha (2)
- # meander (4)
- # off-topic (2)
- # pathom (1)
- # quil (1)
- # re-frame (21)
- # shadow-cljs (49)
- # spacemacs (6)
- # xtdb (8)
Getting a bunch of things like this on latest cljs compiler and :bundle
WARNING: Wrong number of args (2) passed to cljs.core/merge at line 31 /Users/me/dev/path/to/ns.cljs
Using the following deps
{org.clojure/clojure {:mvn/version "1.10.0"}
org.clojure/clojurescript {:git/url ""
:sha "419cd4b2f87e1e5557f5a1ed936fc1075bed9cd5"}}
Build goes through and app works(merge
(get attr->props attr)
{:type type
:placeholder "Enter Text"
:on-blur on-blur
:on-change on-change})
So not a known issue it sounds. I thought it might be because I was using clojure 1.9.0, so upgraded, no difference
WARNING: Wrong number of args (3) passed to cljs.core/conj at line 28 /Users/inge/.gitlibs/libs/org.clojure/clojurescript/419cd4b2f87e1e5557f5a1ed936fc1075bed9cd5/src/main/cljs/clojure/set.cljs
WARNING: Wrong number of args (2) passed to cljs.core/merge at line 115 /Users/inge/.gitlibs/libs/org.clojure/clojurescript/419cd4b2f87e1e5557f5a1ed936fc1075bed9cd5/src/main/cljs/clojure/set.cljs
@ingesol I'm a bit skeptical since nothing happened between 1.10.758 and master that would cause this
I see. I don’t really have a minimal reproducible case either. So no idea? Could java version matter?
@ingesol it's possible your cache is somehow corrupted, you can delete ~/.cljs
and ~/.gitlibs
yes, change was boot -> lein and switch to :target :bundle, and a bunch of steps during that. So I guess I will have to boil this down
@dnolen That seems to be correct, running it with clojure -A:cljs-prod
seems to run without warnings
yes, but not 100% cool 🙂 I was hoping for this to work with lein->deps integration, but no disaster I guess.
@dnolen So just to confirm for anyone who’s interested: I was using https://github.com/RickMoynihan/lein-tools-deps with a git-based dep on clojurescript. The problem went away when I introduced this:
com.bhauman/figwheel-repl {:mvn/version "0.2.0"
:exclusions [org.clojure/clojurescript]}
So seems the plugin is unable to detect a conflict between the git dep and the rest of the dependency tree generated for leiningenthat plugin is now based on a pretty old version of tools.deps.alpha so could be missing lots of bug fixes too
Is there anything like https://codepen.io/ that supports ClojureScript? Ie so that I could code and "run"/demonstrate a small Fulcro app online?
Hello, is there any way to avoid .. cannot be resolved
for JS APIs when I use ClojureScript with Cursive
didn’t know that there’s a cursive channel. Thanks @dnolen