-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where is index.js after eject in version 2.0.2 ? #771
Comments
Even I don't find the index.js file in the latest version after I run Eject. |
Yes, this should be included in the eject documentation if it's no longer going to be generated by default. @EVALIJANI Did you include the appropriate contents in index.js after creating it in your project root? This worked for me. import { AppRegistry } from 'react-native';
import App from './App';
AppRegistry.registerComponent('your_app_name_here', () => App); |
no but for me gives this error: failure to call AppRegistry.registerComponent |
@EVALIJANI If you have an import { AppRegistry } from 'react-native';
import App from './App';
AppRegistry.registerComponent('your_app_name_here', () => App); with My guess is that you're not putting the proper app name in. This should match the name you used when ejecting. |
hi, where is index.js after eject in version 2.0.2 ?
even i create it and then create the index.android.bundle it says Application [name] has not been registered.
failure to call AppRegistry.registerComponent
The text was updated successfully, but these errors were encountered: