Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
chungtv1doi opened this issue Jan 5, 2023 · 16 comments
Open
2 tasks done

Comments

@chungtv1doi
Copy link

chungtv1doi commented Jan 5, 2023

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:

@chungtv1doi
Copy link
Author

React native CLI. Error in the picture:

21

@Yasir12598
Copy link

same issue here

@devxrithm
Copy link

Yes same issue please any one fix this

@Yasir12598
Copy link

Yasir12598 commented Jan 27, 2023

I have resolved this issue by doing some changes. First one as I forget to install react-native-fbsdk-next package which is required for react-native-fbads. make sure configure it properly (follow documentation properly). react-native-fbsdk-next configuration link

The second change that may make resolved the issue by down-grading to [email protected]

@devxrithm
Copy link

May be it will help let me try it

@devxrithm
Copy link

Not working bro please any one help with this issue configure file issue in app.json file

@chungtvdev
Copy link

I have resolved this issue by doing some changes. First one as I forget to install react-native-fbsdk-next package which is required for react-native-fbads. make sure configure it properly (follow documentation properly). react-native-fbsdk-next configuration link

The second change that may make resolved the issue by down-grading to [email protected]

Bro, this is not working. You mean: you will not folow to install:react-native-fbsdk-next?
Could you show the step to set up?

@Yasir12598
Copy link

Yasir12598 commented Jan 29, 2023

here is configuration react-native-fbsdk-next react-native-fbsdk-next

try also to down-grade react-native-fbads to 7.0.5

@devxrithm
Copy link

Not working bro,it shows React native fbads configurations file error in app.json when I try again to install the package react native fbads it give error that

Skkiping Configurations file check

@chungtv1doi
Copy link
Author

here is configuration react-native-fbsdk-next react-native-fbsdk-next

try also to down-grade react-native-fbads to 7.0.5

Bro, i clarify your comment:

@zuberqureshi
Copy link

downgrade 7.0.5 is not working with new apps and sdk, not supported

@zuberqureshi
Copy link

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

Bro in new apps Fb not supporting to lower the version

@Roundtree-Larry
Copy link

same issue, any solution ?

@Yasir12598
Copy link

@zuberqureshi @Roundtree-Larry Please install react-native-fbsdk-next instead of react-native-fbsdk as Facebook dropped support from it
fbsdk

@matt-oakes
Copy link

This should be fixed in 7.1.1 as it was the same issue as #354

@devxrithm
Copy link

Is the ads issue fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants