Module AppRegistry is not registered callable module (calling runApplication)

后端 未结 22 1443
野的像风
野的像风 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:39

    you just need to close the metro server by control + c and then restart by npm start

    Note: If that too doesn't work then just restart your computer, it'll definitely work then.

提交回复
热议问题