React-native upgrade from 0.61.5 to 0.63.2: TypeError: Super expression must either be null or a function
React-native upgrade from 0.61.5 to 0.63.2: TypeError: Super expression must either be null or a function
我正在尝试将 React-native 从 0.61.5 升级到 0.63.2。
iOS 一切正常。但是对于 Android 我有:
构建包时的当前错误:
错误类型错误:超级表达式必须为空或函数
错误不变违规:模块 AppRegistry 不是已注册的可调用模块(调用 runApplication)
错误不变违规:模块 AppRegistry 不是已注册的可调用模块(调用 runApplication)
模拟器白屏
我删除了应用程序,清理了解决方案 - 无法正常工作。
根据本手册更新:https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.63.2
我通过将依赖项和 devDependencies 更新到最新版本解决了这个问题。我想更好的解决方案是找出需要更新的确切内容。但现在最主要的是应用程序终于运行了:)
我正在尝试将 React-native 从 0.61.5 升级到 0.63.2。 iOS 一切正常。但是对于 Android 我有:
构建包时的当前错误:
错误类型错误:超级表达式必须为空或函数
错误不变违规:模块 AppRegistry 不是已注册的可调用模块(调用 runApplication)
错误不变违规:模块 AppRegistry 不是已注册的可调用模块(调用 runApplication)
模拟器白屏
我删除了应用程序,清理了解决方案 - 无法正常工作。
根据本手册更新:https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.63.2
我通过将依赖项和 devDependencies 更新到最新版本解决了这个问题。我想更好的解决方案是找出需要更新的确切内容。但现在最主要的是应用程序终于运行了:)