React-Native 全新安装编译错误
React-Native Fresh Install Compile Error
我创建了几个 react-native 项目,自从更新到 Sierra OSX 和 Xcode 8 后,在打开每个项目时,我收到错误:
Application AppName has not been registered. This is either to due to a require() error during initialisation or a failure to call AppRegistry.registerComponent.
我已经回到基础,卸载并重新安装节点,重新安装最新的 react-native,创建一个新的 init,仍然得到错误。我已经按照建议 here.
查找并删除了自定义编译器标志
这是一个真正的问题,如果有人有任何见解,我将不胜感激!
我昨晚遇到了这个错误!我所做的只是删除 node_modules,然后重新安装并再次 运行 应用程序,它起作用了。 – 克里斯菲尔
我创建了几个 react-native 项目,自从更新到 Sierra OSX 和 Xcode 8 后,在打开每个项目时,我收到错误:
Application AppName has not been registered. This is either to due to a require() error during initialisation or a failure to call AppRegistry.registerComponent.
我已经回到基础,卸载并重新安装节点,重新安装最新的 react-native,创建一个新的 init,仍然得到错误。我已经按照建议 here.
查找并删除了自定义编译器标志这是一个真正的问题,如果有人有任何见解,我将不胜感激!
我昨晚遇到了这个错误!我所做的只是删除 node_modules,然后重新安装并再次 运行 应用程序,它起作用了。 – 克里斯菲尔