Fork me on GitHub
#cljsrn
<
2017-10-18
>
shidima_06:10:26

Hi, im following https://docs.expo.io/versions/latest/guides/using-clojurescript.html to get started, but I dont get figwheel to connect and thus I dont get a prompt in my repl

joshmiller15:10:37

So I tried upgrading everything in my setup, re-natal to 0.7.2 and react-native to 0.49.3. When I run react-native run-ios, the packager fails with:

Bundling `index.js`  [development, non-minified]  0.0% (0/1), failed.
error: bundling failed: NotFoundError: Cannot find entry file index.js in any of the roots: ["/project..."]
    at DependencyGraph._getAbsolutePath (/project.../node_modules/metro-bundler/src/node-haste/DependencyGraph.js:305:11)
    at DependencyGraph.getDependencies (/project.../node_modules/metro-bundler/src/node-haste/DependencyGraph.js:283:4236)

joshmiller15:10:09

I have an index.ios.js and index.android.js, but no index.js… is this something that’s changed somewhere that I haven’t upgraded?

joshmiller16:10:59

Appears to be due to this change to defaulting to index.js: https://github.com/facebook/react-native/issues/16208