This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-01
Channels
- # announcements (1)
- # beginners (71)
- # calva (12)
- # cider (3)
- # clj-kondo (12)
- # cljsrn (9)
- # clojure (167)
- # clojure-dev (21)
- # clojure-europe (5)
- # clojure-italy (60)
- # clojure-nl (6)
- # clojure-spec (6)
- # clojure-uk (60)
- # clojurescript (86)
- # core-async (25)
- # cursive (21)
- # datascript (9)
- # datomic (4)
- # figwheel (8)
- # fulcro (7)
- # graalvm (4)
- # jackdaw (6)
- # jobs (8)
- # juxt (2)
- # leiningen (1)
- # malli (1)
- # off-topic (20)
- # re-frame (31)
- # reagent (5)
- # remote-jobs (3)
- # shadow-cljs (57)
- # sql (6)
- # vim (9)
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.
Ok I debugged it a bit, it specifically happens when I add @cljs-oss/module-deps to the project.
@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.
source map doesn’t work yet sadly
there’s a ticket here https://github.com/facebook/metro/issues/104
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