Skip to content
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

require function is not working in index file after upgrading to 0.59.10 #25752

Closed
Iamasthme opened this issue Jul 21, 2019 · 2 comments
Closed
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@Iamasthme
Copy link

Iamasthme commented Jul 21, 2019

React Native version: 0.59.10

Steps To Reproduce

my app was working fine till last release.

this is my index.js file looks like

require ('./react_app/CartRoutes.js')
require ('./react_app/api/cart_api.js')
require ('./react_app/components/Cart/Cart.js')
require ('./react_app/components/Payment/Payment.js')
require ('./react_app/components/Payment/PaymentRetry.js')
require ('./react_app/components/LoveList/LoveList.js')
require ('./react_app/components/HomeLanding/HomeLanding.js')
require ('./react_app/components/HomeLanding/DiscoveryLanding.js')
require ('./react_app/components/HomeLanding/DiscoveryListView.js')
require ('./react_app/components/HomeLanding/SalesTabsContainer.js')

it stopped working after upgrading this to 0.59.10 any help would be appreciated

this is the error which I am getting

This error can also happen due to a require() error during initialization or failure to call AppRegistry.registerComponent.``

@Iamasthme Iamasthme added the Bug label Jul 21, 2019
@stale
Copy link

stale bot commented Oct 19, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Oct 19, 2019
@stale
Copy link

stale bot commented Oct 26, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Oct 26, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Oct 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

1 participant