Module AppRegistry is not registered callable module (calling runApplication)

后端 未结 22 1473
野的像风
野的像风 2020-11-28 07:56

I am using native base for making app in react-native. I am new to both things. When I run the app It gives me this error:

Here is my code:

         


        
22条回答
  •  天命终不由人
    2020-11-28 08:34

    I had this issue - it was odd because I reset my repo to a time when the app was working. The issue was with my simulator (iOS).

    For me the solution was to

    1. kill the simulator program (quit)
    2. then - close the terminal window that is opened when simulator is ran (Metro Bundler) Image of my terminal window

提交回复
热议问题