React Native 新手:我使用 Expo init 启动了一个全新的项目,然后我按照 https://reactnavigation.org/docs/hello-react-navigation 中提到的说明操作我使用 expo start 运行该项目,但出现此错误。不变违规:“主要”尚未注册。在以下情况下可能会发生这种情况:
AppRegistry.registerComponent无法加载且未被调用。不变 browser.js:38:14 runApplication AppRegistry.js:193:13 __callFunction MessageQueue.js:425:19 __guard$argument_0 MessageQueue.js:112:6 __guard MessageQueue.js:373:10 callFunctionReturnFlushedQueue MessageQueue.js:111:4 callFunctionReturnFlushedQueue [native code]:0 有什么建议吗?