Skip to content

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

Closed
@Iamasthme

Description

@Iamasthme

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.``

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugStaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions