Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Error: While trying to resolve module `react-native-fbads` from file

未關閉
#348 16 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
20/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
android, javascript, react-native
領域
mobile

研究方向

從 BannerAds.js 開始,並檢查 node_modules/react-native-fbads/package.json 以及回報的 dist/lib/index.js 路徑。重現模組解析失敗,並驗證宣告的主模組是否存在;當 react-native-fbads 能在沒有回報錯誤的情況下解析時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

Bug Report

Before opening

  • Did you try the latest release?
  • Did you look for existing issues?

Ad Modules

Platforms

Versions

  • Android: 27
  • iOS:
  • react-native-fbads:
  • react-native:

Ads Environment
27 or 33

i Run fbd React native and found some problem as below, please help me

error: Error: While trying to resolve module react-native-fbads from file E:\Software React\test20230105\BannerAds.js, the package E:\Software React\test20230105\node_modules\react-native-fbads\package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (E:\Software React\test20230105\node_modules\react-native-fbads\dist\lib\index.js. Indeed, none of these files exist:

主要語言
Java
星號
451
分支
146
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

callstack/react-native-fbads 的其他 Issue

查看 callstack/react-native-fbads 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。