interwebsug / photo-editor-sdk-react-native

React Native implementation of the photoeditorsdk (https://www.photoeditorsdk.com/)
The Unlicense
42 stars 24 forks source link

ambiguous resolution of package.json #13

Open taichi-jp opened 6 years ago

taichi-jp commented 6 years ago

When I install this and launch the app, my bundler says:

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

  * `/Users/taichi/dev/rn_image_editor_sample/ios/Pods/React/package.json`
  * `/Users/taichi/dev/rn_image_editor_sample/node_modules/react-native/package.json`

By the way, is this repo maintained well to be able to use in production?

I read this post: https://blog.photoeditorsdk.com/photoeditor-sdk-react-native-15179c589a55 , and in this post you set up the SDK with Swift code, not using this repo. Your docs do not refer to this repo; https://docs.photoeditorsdk.com/quickstarts/react_native

If it's better not to use this repo and to use NativeModules, I will do so.