This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-28
Channels
- # announcements (12)
- # babashka (87)
- # beginners (84)
- # calva (22)
- # circleci (4)
- # clj-kondo (46)
- # cljdoc (6)
- # cljsrn (15)
- # clojure (87)
- # clojure-europe (18)
- # clojure-uk (7)
- # clojurescript (20)
- # community-development (3)
- # conjure (1)
- # cursive (13)
- # datomic (14)
- # events (7)
- # fulcro (27)
- # graphql (31)
- # helix (8)
- # jobs-discuss (1)
- # lsp (43)
- # malli (11)
- # meander (64)
- # off-topic (7)
- # pathom (26)
- # polylith (9)
- # practicalli (2)
- # re-frame (33)
- # reagent (2)
- # reitit (5)
- # releases (2)
- # rewrite-clj (2)
- # shadow-cljs (69)
- # specter (5)
- # sql (1)
- # tools-deps (85)
- # tree-sitter (1)
- # vim (3)
hi everyone, I'm trying out krell with cider, following the reagent wiki example. It's seems it doesn't find new namespaces I create until I run
clj -M -m krell.main -v -co build.edn -c
Am I missing some config? or this is the proper workflow? should I recompile every new namespace.I have the same issue! :thinking_face:
The app does load initially and upon subsequent saves it will update, but the timeouts are pretty consistent.
Each save loads the state of the app code from the previous save since that one timed out.
it might be picking the wrong IP trying to connect back to the shadow-cljs REPL server
you can set the correct one manually in ~/.shadow-cljs/config.edn
with {:local-ip "123.4.5.6"}
Here's the output of npx expo diagnostics
:
Expo CLI 4.0.2 environment info:
System:
OS: Linux 5.10 NixOS 21.05 (Okapi) 21.05.906.cedcf2565c6 (Okapi)
Shell: 4.4.23 - /run/current-system/sw/bin/bash
Binaries:
Node: 14.17.0 - /run/current-system/sw/bin/node
Yarn: 1.22.10 - /run/current-system/sw/bin/yarn
npm: 7.20.2 - ~/.npm-packages/bin/npm
Watchman: 4.9.0 - /run/current-system/sw/bin/watchman
npmPackages:
expo: 39.0.5 => 39.0.5
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
react-native-web: 0.13.7 => 0.13.7
npmGlobalPackages:
expo-cli: 4.0.2
Expo Workflow: managed
and shadow-cljs info
:
shadow-cljs - config: /home/jasonmj/git/rn-rf-shadow/shadow-cljs.edn
=== Version
jar: 2.15.2
cli: 2.15.2
deps: 1.3.2
config-version: 2.15.2
=== Paths
cli: /home/jasonmj/git/rn-rf-shadow/node_modules/shadow-cljs/cli/dist.js
config: /home/jasonmj/git/rn-rf-shadow/shadow-cljs.edn
project: /home/jasonmj/git/rn-rf-shadow
cache: .shadow-cljs
=== Java
openjdk version "16" 2021-03-16
OpenJDK Runtime Environment (build 16+36-nixos)
OpenJDK 64-Bit Server VM (build 16+36-nixos, mixed mode, sharing)
=== Source Paths
/home/jasonmj/git/rn-rf-shadow/src/main
/home/jasonmj/git/rn-rf-shadow/src/test
initially i tried this in emacs with cider, then i used the command line with shadow-cljs watch app
and npm start
. both yielded the same timeout error as the screenshot above.
i have opened ports 19000-19003 on my host firewall and confirmed that my phone can connect