Require cycle warning in console
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, react-native
- 领域
- mobile
调研方向
首先重现控制台警告,并跟踪经过 node_modules/react-native-fbads/dist/lib/index.js 和 dist/lib/native-ads/withNativeAd.js 的 require 循环。确定这些入口点为何相互 require,然后验证警告已消失且未破坏原生广告行为。
由索引模型根据 Issue 内容生成。
描述
Error Message :
Require cycle: node_modules/react-native-fbads/dist/lib/index.js -> node_modules/react-native-fbads/dist/lib/native-ads/withNativeAd.js -> node_modules/react-native-fbads/dist/lib/index.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
Am i the only one having this messange in my console ?
Can´t find some help in the other issues :(
- 主要语言
- Java
- 星标
- 450
- 派生
- 145
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstack/react-native-fbads 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 35/100
callstack/react-native-fbads#360 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
callstack/react-native-fbads#359 ·
-
难度 3/5 1-2 天 新手友好度 20/100
callstack/react-native-fbads#358 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
callstack/react-native-fbads#357 ·
-
难度 4/5 3-5 天 新手友好度 15/100
callstack/react-native-fbads#356 · 3 条评论 ·
查看 callstack/react-native-fbads 的全部 Issue
相似的 Issue
-
ToolCallbackProvider AutoConfiguration does not preserve tool order可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 79/100
spring-projects/spring-ai#7206 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
eclipse-dirigible/dirigible#7958 ·
维护者通常 1 天内回复
-
bug ci sev-6
难度 2/5 1-3 小时 新手友好度 73/100
-
area/cli
难度 2/5 半天 新手友好度 78/100
quarkusio/quarkus#57623 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
jhipster/prettier-java#1113 ·
维护者通常 2 天内回复