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 with 'react-native' #98

Open
fcabrera23 opened this issue Jun 1, 2018 · 1 comment
Open

Error with 'react-native' #98

fcabrera23 opened this issue Jun 1, 2018 · 1 comment

Comments

@fcabrera23
Copy link

fcabrera23 commented Jun 1, 2018

After installing Pods using this file:
target 'chatApp' do

use_frameworks!
pod 'XMPPFramework', :git => 'https://github.com/robbiehanson/XMPPFramework.git', :branch => '3.7.0'
pod 'KissXML', :git => "https://github.com/aksonov/KissXML.git", :branch => '5.2.0'
pod 'RNXMPP', :path => '../node_modules/react-native-xmpp'

target 'chatAppTests' do
inherit! :search_paths
end

end

target 'chatApp-tvOS' do

target 'chatApp-tvOSTests' do
inherit! :search_paths
end

end

I got this error

error: bundling failed: ambiguous resolution: module /Users/franciscocabrera/Development/Chatapp/index.android.js tries to require react-native, but there are several files providing this module. You can delete or fix them:

  • /Users/xxx/Development/Chatapp/ios/Pods/React/package.json
  • /Users/xxx/Development/Chatapp/node_modules/react-native/package.json
@skumarm
Copy link

skumarm commented Jun 27, 2018

Hi,
Iam also facing the same issue. I just tried by removing either of one separately, still not working. Help is appreciated.

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