react-native-xmpp icon indicating copy to clipboard operation
react-native-xmpp copied to clipboard

Error with 'react-native'

Open fcabrera23 opened this issue 6 years ago • 1 comments

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

fcabrera23 avatar Jun 01 '18 21:06 fcabrera23

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

skumarm avatar Jun 27 '18 09:06 skumarm