Fork me on GitHub
#cljsrn
<
2020-05-15
>
dnolen00:05:42

ah right, yeah one second

dnolen00:05:43

fixed in Krell master

ūüĎć 16
Martin Jung14:05:05

Hi everyone! I try to get the krell tutorial example to work on my windows machine. After krell connects to the android emulator and the repl prompt apears, the repl throws several FileNotFoundExceptions for the .js files. All the files exist in the target folder. Is there an obvious problem I don't see?

dotemacs14:05:57

I’m not saying that I’ll be able to fix the issue that you’re having @martin_jung but maybe share the error you’re getting in a gist? It’ll give people more to go on when troubleshooting.

dnolen15:05:38

@martin_jung I don't have a Windows machine - and there are known Windows issues

dnolen15:05:55

specifically around path handling

dnolen15:05:47

feel free to open an issue, I'll look into it - if you have some thoughts about fixes to let me know

dnolen15:05:56

our team doesn't use Windows so not a high priority for us

dnolen15:05:47

basically the issue is that Google Closure Library paths are relative URLs and we can just use those on OS X / Linux

dnolen15:05:01

on Windows they need to be translated

Martin Jung15:05:50

Thanks for the explanation David.  At least I now know that it's not a configuration issue. So I can stop messing around with that. If I manage to look at the implementation I'll let you know.

emak15:05:01

Hey, does anyone has experience with a cljs build tool that works with expo. Or is it a no mans land? My current attempt is to use react-native-figwheel-bridge on top of a blank expo project. But I am stuck at the JS land border trying to make sense of the import / export. https://github.com/bhauman/react-native-figwheel-bridge

dotemacs15:05:01

Sorry, didn’t read that properly enough, my bad.

emak15:05:52

@dotemacs thanks I didn't have this resource. It may help me understand what I'm doing.

dotemacs15:05:37

What I mean to say is: I know that shadow-cljs can be used to build for expo. Not sure how you’d do it via react-native-figwheel-bridge.

emak16:05:58

I first tried with react-native-figwheel-bridge because it is the best description of the problem I found in the README. But any tool that works would do ūüôā

dnolen16:05:34

@martin_jung https://github.com/vouch-opensource/krell/issues/91, will take a look next week - likely not that hard but might need some help testing

Micha√ęl Salihi17:05:51

@emilien You can use Shadow-CLJS, it works great with Expo. Here an simple example repo from the Shadow author : https://github.com/thheller/reagent-expo