This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-23
Channels
- # announcements (2)
- # architecture (83)
- # asami (2)
- # babashka (49)
- # bangalore-clj (2)
- # beginners (235)
- # braveandtrue (1)
- # calva (17)
- # clojure (109)
- # clojure-australia (5)
- # clojure-czech (5)
- # clojure-dev (24)
- # clojure-europe (17)
- # clojure-germany (2)
- # clojure-nl (3)
- # clojure-serbia (13)
- # clojure-spain (1)
- # clojure-spec (1)
- # clojure-uk (20)
- # clojurescript (3)
- # community-development (34)
- # conjure (10)
- # cursive (21)
- # data-science (1)
- # datahike (1)
- # datalog (1)
- # datomic (12)
- # etaoin (3)
- # events (2)
- # fulcro (13)
- # graphql (8)
- # heroku (2)
- # lsp (58)
- # malli (32)
- # membrane (24)
- # off-topic (63)
- # parinfer (2)
- # pathom (14)
- # portal (14)
- # re-frame (16)
- # reagent (50)
- # releases (1)
- # rum (1)
- # shadow-cljs (10)
- # sql (6)
- # startup-in-a-month (1)
- # timbre (2)
- # tools-deps (61)
- # xtdb (4)
I’m trying to load the following in my shadow repl:
(ns humboi.events
(:require
[re-frame.core :as rf :refer [reg-event-fx reg-event-db after reg-sub reg-cofx inject-cofx reg-fx]]
[reagent.core :as r]
[re-frame.core :refer [subscribe dispatch]]
[ajax.edn :as edn]
[ajax.core :refer [json-response-format raw-response-format json-request-format] :as ajax]
[day8.re-frame.http-fx]
[cljs.core.async :refer [go]]
))
However, I’m getting this error:
1. Unhandled java.io.FileNotFoundException
Could not locate day8/re_frame/http_fx__init.class, day8/re_frame/http_fx.clj
or day8/re_frame/http_fx.cljc on classpath. Please check that namespaces with
dashes use underscores in the Clojure file name.
why is the repl looking for java files? Why am I on a clojure repl? In the same repl, when I do (shadow/watch :dev) it works and the watch is running smoothly too.I think it's because the shadow process is a clojure process. In there you can start "watching" a build but if you want to connect to do it, you need to it via (shadow/repl :the-build)
Are these of any help to you?
https://shadow-cljs.github.io/docs/UsersGuide.html#build-repl
https://shadow-cljs.github.io/docs/UsersGuide.html#_clojure_repl
https://shadow-cljs.github.io/docs/UsersGuide.html#_nrepl_usage
https://shadow-cljs.github.io/docs/UsersGuide.html#_editor_integration
@UH9091BLY when I select the shadow
option in cider, and try to run (shadow/watch :dev), I get No available cljs runtime
I’m using react-native and yes the react-native app is open
how to get the runtime when the build target is react native?
i'm running shadow-cljs run shadow.cljs.build-report app report.html
and getting an error:
Caused by:
NoSuchFileException: .shadow-cljs/release-snapshots/app/latest/goog.debug.error.js.map
I've tried created the build both after a compile
and a release
but get the same error. Project is :npm-module
. Anyone ever see anything like this?