Fork me on GitHub

Today I opened my app that was bootstrapped with the expo-cljs-template. Expo told me the 26.0 SDK was deprecated and that I had to upgrade to 31.0+. I followed the upgrade guide at to upgrade to 31.0 but am now seeing the following error when i try to lein figwheel, I get the following error:

Exception in thread "main" node_modules/metro/src/Server/index.js (No such file or directory), compiling:(/tmp/form-init6292548234996203928.clj:1:73)
        at clojure.lang.Compiler.load(
        at clojure.lang.Compiler.loadFile(
        at clojure.main$load_script.invokeStatic(main.clj:278)
        at clojure.main$init_opt.invokeStatic(main.clj:280)
        at clojure.main$init_opt.invoke(main.clj:280)
        at clojure.main$initialize.invokeStatic(main.clj:311)
        at clojure.main$null_opt.invokeStatic(main.clj:345)
        at clojure.main$null_opt.invoke(main.clj:342)
        at clojure.main$main.invokeStatic(main.clj:424)
        at clojure.main$main.doInvoke(main.clj:387)
        at clojure.lang.RestFn.applyTo(
        at clojure.lang.Var.applyTo(
        at clojure.main.main(
Caused by: node_modules/metro/src/Server/index.js (No such file or directory)
Following the stack trace, I can't find the node_modules/metro/src/Server/index.js file either (doesn't exist). Anyone come across this before?


Yes, this file has moved to Server.js


The upgrade to 31.0 is pretty tricky as react 0.57 breaks advanced compilation too


You'll need to patch the bundler - there's some info around on github on how to do this...


@danieleneal Thanks a ton for pointing me to those issues. They helped me resolve my immediate issues. Posting direct links to those issues in case anyone else runs into them: (start here)


What are folks using for a router? I'm leaning towards React-Navigation as I don't have a lot of React Native experience and it looks pretty approchable

Oliver George21:06:19

React navigation works for me.

emil0r22:06:10 <-- anyone got an idea on how to get that working?