This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-15
Channels
- # announcements (9)
- # babashka (1)
- # beginners (1)
- # calva (7)
- # cider (13)
- # clj-kondo (2)
- # cljsrn (1)
- # clojure (40)
- # clojure-europe (2)
- # clojure-spec (9)
- # clojure-uk (1)
- # cursive (4)
- # datomic (2)
- # etaoin (1)
- # fulcro (4)
- # honeysql (3)
- # lsp (43)
- # malli (7)
- # music (1)
- # nbb (6)
- # off-topic (5)
- # polylith (8)
- # protojure (1)
- # re-frame (6)
- # react (17)
- # reagent (63)
- # releases (1)
- # shadow-cljs (8)
- # testing (8)
- # tools-deps (1)
- # vim (8)
anyone tried freerange
fork of re-frame?
I am trying to setup an example and can't require reframe-core
.
{:paths
["src/dev"
"src/main"
"src/test"]
:deps
{thheller/shadow-cljs {:mvn/version "2.14.3"}
reagent {:mvn/version "1.1.0"}
#_#_re-frame {:mvn/version "RELEASE"}
re-frame/re-frame {:git/url ""
:sha "8cf68c30722a4c6f8f948a134c900d7a656ecad4"}}}
running
...{:app {:target :browser
:modules {:main {:entries [freerange-example.core]}}
:output-dir "public/js"
:asset-path "/js"
:compiler-options {:optimizations :simple
:output-wrapper false}
:devtools {:http-root "public"
:http-port 9711
:hud true
:ignore-warnings true
}}}
...
(ns freerange-example.core
(:require
[reagent.core :as r]
[re-frame.core :as rf] ;; <-- requiring it as regular re-frame
[clojure.string :as str]))
[:app] Build failure:
The required namespace "re-frame.core" is not available, it was required by "freerange_example/core.cljs".Compute the classpath using clj -Spath
and see what's in there. clj -Spath | tr : '\n' | grep -v /.m2/
should give the most interesting parts.
If the relevant directory is in there (should be something with .gitlibs
), go there and see what it contains. Double check that the path has that hash.
If it does have re_frame/core.cljc
, then I have no idea.
If it does not have the file, remove the SHA directory and try again.