Updated to ReactNative 0.57 with index.[OS].js and not index.js #22645
Labels
Resolution: Locked
This issue was locked by the bot.
Type: Invalid
This issue does not belong here. Applying this label will cause issue to be closed.
Environment
Description
When I started my react native project it was with
react-native init
(I am not 100% sure).The .js entry files where
index.android.js
and alsoindex.ios.js
.I recently updated from RN 0.47 to RN 0.57. And when running
./gradlew assembleRelease
I encountered the following error:The resource '/Users/waltermonecke/Documents/Code/React-Native/lisdoWorker/index.js' was not found.
Which is obvious because I have no index.js.
How do I deal with this? I dont want to mess up my project.
On iOS I was able to solve it since in the
AppDelegate.m
you can specify the js entry file like so:jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
However I have no idea how to do this on android.
Full Error Log
The text was updated successfully, but these errors were encountered: