This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-15
Channels
- # announcements (71)
- # architecture (2)
- # aws (41)
- # babashka (23)
- # beginners (80)
- # calva (26)
- # chlorine-clover (11)
- # cljfx (4)
- # cljs-dev (12)
- # clojure (78)
- # clojure-berlin (5)
- # clojure-czech (3)
- # clojure-dev (9)
- # clojure-europe (45)
- # clojure-france (16)
- # clojure-gamedev (2)
- # clojure-italy (3)
- # clojure-nl (4)
- # clojure-spec (8)
- # clojure-sweden (1)
- # clojure-uk (37)
- # clojurescript (18)
- # community-development (15)
- # conjure (30)
- # cursive (51)
- # datomic (16)
- # duct (19)
- # figwheel-main (3)
- # fulcro (23)
- # java (7)
- # jobs (2)
- # joker (10)
- # off-topic (7)
- # parinfer (1)
- # pathom (6)
- # reagent (5)
- # reitit (1)
- # remote-jobs (1)
- # sci (1)
- # shadow-cljs (55)
- # slack-help (3)
- # specter (4)
- # sql (21)
- # tools-deps (11)
- # vim (5)
- # xtdb (14)
I’m not exactly sure where to start with this one: errors when saving .cljc
files. This happens regardless of which file this is, when evaluation is set to prefer-clj
or clj
.
When set to full refresh, the error is
java.io.FileNotFoundException: "Could not locate clojure/tools/namespace/repl__init.class, clojure/tools/namespace/repl.clj or clojure/tools/namespace/repl.cljc on classpath."
When set to simple, the error is
java.lang.IllegalArgumentException: "No value supplied for key: true"
It appears to happen when there are #?(:cljs
in the requires part of the ns
declaration. When those are removed, it seems to work.For example,
(:require
[clojure.string :as string]
[com.rpl.specter :as sp]
#?(:cljs [goog.dom :refer [getElement]])
#?(:cljs [goog.dom.Range :refer [createCaret]])))
Well, that's not expected. Let me see if I can reproduce it... The first problem is probably because you don't have clojure.tools.namespace on the classpath
For Chlorine, if you want to use "full refresh" (on save or not), it is required. To be honest, I'm thinking about removing all refresh-related code: it's easier (and more configurable) to do it by custom configurations...
(also, you can disable "refresh namespaces on save", it's a config on the plug-in)
(I generally recommend everyone turns off the refresh stuff 🙂 )
@U06B8J0AJ I evaluate every change as I make it -- usually with "evaluate top-level block" -- I don't even bother saving the files while I'm working and evaluating changes.