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

Multiple Dependencies with different sources #15

Closed
mohanenm opened this issue Nov 15, 2021 · 2 comments
Closed

Multiple Dependencies with different sources #15

mohanenm opened this issue Nov 15, 2021 · 2 comments

Comments

@mohanenm
Copy link
Collaborator

mohanenm commented Nov 15, 2021

Currently trying to build the example app in this repo and running into this error when trying to run pod install from the IOS folder, after running yarn add react-native-bildit-flybuy from the root folder.

[!] There are multiple dependencies with different sources for `react-native-bildit-flybuy` in `Podfile`:

- react-native-bildit-flybuy (from `../node_modules/react-native-bildit-flybuy`)
- react-native-bildit-flybuy (from `../..`)

I am using:

xcode: 13.1
react native: 0.63
bilidt wrapper: 0.2.3

I have already tried cloning a new project, deintegrating and attempting to install pods again, remove node_modules, all to no avail.

@zeabdelkhalek
Copy link
Collaborator

@mohanenm If you clone this repository and you want to run the example app, you have just to run it directly without the need of running yarn add react-native-bildit-flybuy because it's integrated there in the Podfile

@mohanenm
Copy link
Collaborator Author

@zeabdelkhalek though this is confusing. The project stills fail in Xcode because it cannot locate the pods. If I try to disintegrate and install, I get...

Invalid `Podfile` file: cannot load such file -- /Users/ethanmohan/Desktop/react-native-bildit-flybuy/example-app/node_modules/react-native/scripts/react_native_pods.

because node_modules does not exist.

So how would I run it without generating the node modules first?

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

2 participants