React Native 0.66.2 可以在没有Hermes的情况下完美运行。
当我启用 Hermes:hermes_enabled => true
时,打包程序不高兴。
我收到此错误:
ERROR SyntaxError: 5:1:invalid statement encountered., js engine: hermes
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., js engine: hermes
我尝试再次链接所有本机库(如此处所述)但没有运气:(
任何帮助都将受到超级欢迎