aksonov / react-native-xmpp

XMPP library for React Native (iOS and Android native support)
BSD 2-Clause "Simplified" License
307 stars 97 forks source link

Error with 'react-native' #98

Open fcabrera23 opened 6 years ago

fcabrera23 commented 6 years ago

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:

skumarm commented 6 years ago

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