This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-26
Channels
- # aleph (5)
- # announcements (9)
- # beginners (115)
- # boot (36)
- # calva (13)
- # cider (4)
- # clara (7)
- # cljs-dev (27)
- # cljsrn (20)
- # clojure (182)
- # clojure-conj (3)
- # clojure-dev (4)
- # clojure-europe (3)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-uk (34)
- # clojurebridge (3)
- # clojurescript (19)
- # clojureverse-ops (3)
- # core-typed (1)
- # cursive (12)
- # data-science (3)
- # datomic (16)
- # emacs (9)
- # events (5)
- # figwheel-main (11)
- # fulcro (14)
- # graphql (7)
- # jobs (10)
- # jobs-discuss (6)
- # lein-figwheel (8)
- # leiningen (2)
- # lumo (22)
- # mount (1)
- # nrepl (7)
- # off-topic (69)
- # overtone (17)
- # pathom (3)
- # quil (1)
- # re-frame (5)
- # reagent (23)
- # reitit (6)
- # remote-jobs (1)
- # rewrite-clj (4)
- # ring (38)
- # shadow-cljs (54)
- # sql (9)
- # uncomplicate (5)
- # xtdb (1)
@dnolen to start the server on a different port set {:ring-server-options {:port 3449}}
I still have this error
It is probably related to https://figwheel.org/docs/jetty_conflicts.html
I did all suggestions from lein deps :tree
and added [javax.servlet/servlet-api "2.5"]
to dev profile but I still get the same error
Alright it is fixed by adding the following to profiles.clj
dev profile:
[org.eclipse.jetty/jetty-http "9.4.17.v20190418"]
New error:
1. Caused by java.lang.ClassNotFoundException
org.eclipse.jetty.util.ConcurrentArrayQueue
Not solvable by adding the jetty-util dependency
Anyone an idea?
I have a js-environment.js
script to be run in node. I was thinking it would be sweet if I could write this as a cljs
file and then pass the the start
cljs function to :launch-js
like outlined here https://figwheel.org/docs/testing.html#using-a-clojure-function
For example:
(ns my.cljs.js-launcher)
(defn start [{:keys [output-dir]}]
...stuff to start js env)
and then clojure -m figwheel.main -fwo '{:launch-js my.cljs.js-launcher/start}' -m my.test-runner
- is there a proper way to make this happen or maybe I am just going about this the wrong way? My JS script works, I was just thinking it would be sweet to have it all written in Clojure(script)