Fork me on GitHub
#cljsrn
<
2019-08-01
>
donyorm00:08:02

So I'm trying to use expo with ClojureScript, and I had it working at one point, then I updated most of the libraries, and I'm getting the error "Unexpected token g in JSON at position 0" when expo tries to build my project. Any idea what that would be? My searches are leading me to believe the issue isn't with cljs, but I'm not 100% sure.

donyorm00:08:47

Ok I debugged it a bit, it specifically happens when I add @cljs-oss/module-deps to the project.

vikeri07:08:06

@donyorm Which setup are you using? I would recommend https://clojureverse.org/t/react-native-expo-with-shadow-cljs/3806 if you’re using expo.

tianshu10:08:26

@vikeri will the source map work? or is it a big problem?

danielneal10:08:19

source map doesn’t work yet sadly

tianshu14:08:16

will it be a big problem during developing

danielneal11:08:28

re: the above - I’ve just asked a question on the new http://ask.clojure.org about source maps for react native in shadow-cljs - if anyone has any ideas or leads please chime in! https://ask.clojure.org/index.php/8294/there-approaches-source-maps-working-with-react-native-shadow

Derrick19:08:22

anyone here familiar with pagination ?

parens 4