Module AppRegistry is not registered callable module (calling runApplication)

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

    Ok guys, here we are my solution for this issue:

    • npm install native-base@latest -g

    • npm install react-native@latest -g

    • change package.json for these dependencies

    • delete node_modules and npm install

    • Open it Xcode and Build/Run from scratch

    I hope it helped

提交回复
热议问题