HAFDIAHMED / DocAPP

react-native app with ignite generator
3 stars 0 forks source link

Error: [mobx-state-tree] expected mobx-state-tree type as argument 1, got undefined instead #1

Open HAFDIAHMED opened 2 years ago

HAFDIAHMED commented 2 years ago

ERROR Error: [mobx-state-tree] expected mobx-state-tree type as argument 1, got undefined instead ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native. ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.

that happens when i created new model with its store and i was trying to declare it in the store root but i got this error ( i dont have any errors with my models code ) #ignite #react-native

HAFDIAHMED commented 2 years ago

solution