Module AppRegistry is not registered callable module (calling runApplication)

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

    I have solved it, just closing the current Metro Bundler and restarting by type comment below.

    npm start -- --reset-cache
    

提交回复
热议问题