So, I’m trying to figure out a workflow to build my application locally without ejecting first. My goal is to build far faster than Expo can, mainly, though I general I like doing things locally when possible.
So, to start I ran
react-native eject to build which produces the needed android/ios directories. I also created an index.ios.js and index.android.js file to load the main App.js.
With a normal CRNA application, this is enough to make the application build and run locally. However, with Expo, the fonts are not found during the bundling of the application. I run into errors, similar to this. As mentioned in that thread, this seems to be a result a the
babel-plugin-module-resolver not being present.
Oh, and I’m using
react-native start as the packager and
react-native run-android to run the actual build.
So, that’s basically where I am. I have all the dependencies to run a plain react native app locally without issue - but now I’m trying to build an “Expo” app (i.e., one using the expo sdk) locally as well. Any thoughts would be much appreciated!