This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-02
Channels
- # announcements (3)
- # beginners (28)
- # calva (5)
- # clj-kondo (17)
- # cljsrn (1)
- # clojure (69)
- # clojure-dev (23)
- # clojure-europe (1)
- # clojure-italy (27)
- # clojure-japan (1)
- # clojure-nl (5)
- # clojure-spec (34)
- # clojure-uk (87)
- # cursive (93)
- # datomic (15)
- # duct (6)
- # emacs (3)
- # events (2)
- # garden (1)
- # graalvm (4)
- # jobs (3)
- # malli (1)
- # off-topic (13)
- # onyx (1)
- # pathom (8)
- # pedestal (2)
- # re-frame (13)
- # reitit (5)
- # shadow-cljs (13)
- # sql (13)
- # test-check (5)
- # testing (3)
- # yada (1)
@isak you can define the hooks via metadata https://shadow-cljs.github.io/docs/UsersGuide.html#_lifecycle_hooks
i'm trying to setup ci on Gitlab for my shadow-cljs project, but everytime it does shadow-cljs release app
it fetches again the clojure dependencies, is there a way to configure Shadow so i can try this approach for cache https://gitlab.com/gitlab-org/gitlab-ce/issues/52407#note_133093686 ?
it should be possible if you could point shadow-cljs to use a different directory for retrieving maven repositories, does shadow-cljs use env variables like MAVEN_OPTS
?
i upgraded my shadow-cljs to latest version 2.8.42, and everytime I run shadow-cljs server
, I get this error
shadow-cljs - config: /home/mavbozo/yolo/znet/machine/shadow-cljs.edn cli version: 2.8.42 node: v11.6.0
shadow-cljs - updating dependencies
shadow-cljs - dependencies updated
Execution error (IllegalStateException) at com.google.common.base.Preconditions/checkState (Preconditions.java:823).
Externs must contain builtin for env BROWSER: whatwg_console.js
Full report at:
/tmp/clojure-9009315503829928826.edn
I tried to downgrade the version and It works fine in shadow-cljs version 2.8.39
shadow-cljs - config: /home/mavbozo/yolo/znet/machine/shadow-cljs.edn cli version: 2.8.39 node: v11.6.0
shadow-cljs - updating dependencies
shadow-cljs - dependencies updated
shadow-cljs - server version: 2.8.39 running at
shadow-cljs - nREPL server started on port 41083
@mavbozo thats odd. do you happen to have some closure-library stuff in your dependencies?
@teawaterwire shadow-cljs info
will download all deps when using shadow-cljs.edn
to manage deps