This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-30
Channels
- # babashka (18)
- # beginners (90)
- # calva (33)
- # clara (6)
- # cljfx (11)
- # cljs-dev (22)
- # cljsrn (9)
- # clojure (71)
- # clojure-australia (2)
- # clojure-czech (15)
- # clojure-europe (27)
- # clojure-germany (9)
- # clojure-nl (4)
- # clojure-serbia (3)
- # clojure-uk (10)
- # clojurescript (17)
- # conjure (12)
- # data-oriented-programming (2)
- # deps-new (6)
- # fulcro (29)
- # graphql (10)
- # hugsql (6)
- # jobs (1)
- # lsp (59)
- # malli (8)
- # off-topic (76)
- # pathom (15)
- # polylith (130)
- # re-frame (9)
- # reagent (15)
- # releases (4)
- # rewrite-clj (6)
- # ring (6)
- # rum (9)
- # shadow-cljs (116)
- # specter (5)
- # testing (7)
- # tools-deps (24)
- # vim (6)
- # xtdb (17)
Anyone here using krell
?
I bumped into this issue https://github.com/vouch-opensource/krell/issues/121
then tried to downgrade npm etc, but that unleashes a whole bunch of other problems
Am I better off with another way of working with react-native..?
I’m using krell but have not tried to upgraded to RN 17 yet. If you’re having trouble with it, you could give shadow-cljs a shot, I think a number of people here are on that and having good success.
@hkjels The --install-deps
step doesn’t do anything apart from adding these :npm-deps
to your package and installing: https://github.com/vouch-opensource/krell/blob/35786a94f4dd4bce4cf80542501e4d105184452a/src/deps.cljs
AFAIK you can just put those in package.json, npm install, and you’re fine. I would guess if there’s an issue with npm 7+ it’s because they broke how their options work or something.
Doing that gets me exactly as far as if I downgrade npm. I get a bunch of errors about functions not being exported from various files
Although, it looks like it should be:
module.exports = {
evaluate: evaluate,
onKrellReload: onKrellReload,
onKrellCacheInvalidate: onKrellCacheInvalidate,
onSourceLoad: onSourceLoad,
getSocket: getSocket
};
It’s been a while since I’ve delpth with javascript and modules etc though