首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >TypeError:无法读取未定义的js引擎的属性“”filter“”:hermes RN 0.64.2

TypeError:无法读取未定义的js引擎的属性“”filter“”:hermes RN 0.64.2
EN

Stack Overflow用户
提问于 2021-07-21 20:00:34
回答 1查看 34关注 0票数 0

我一直在尝试安装不同的版本,但我的应用程序一直崩溃,当我安装最新版本时,我在成功构建后收到此错误

代码语言:javascript
复制
LOG  Running "main" with {"rootTag":1}
ERROR  TypeError: Cannot read property 'filter' of undefined, js engine: hermes
ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

RN 0.64.2

EN

回答 1

Stack Overflow用户

发布于 2021-07-21 22:15:01

也许您没有正确启用herms。go to the link, and make sure to clean your .gradle

如果仍然面临这个问题,那么以很小的性能影响为代价,你可以简单地禁用Herms。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68469116

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档