tuantle / react-native-search-header

Easy to use React Native search header component based on material design patterns.
MIT License
191 stars 32 forks source link

not working on RN 0.49.1 #9

Closed eggybot closed 6 years ago

eggybot commented 6 years ago

Hi, I got this error on the start of react-native run-android

The development server return response error code: 500

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

  * `/Users/me/mobileapps/react/marketchat/node_modules/react-native-search-header/node_modules/react-native/package.json`
  * `/Users/me/mobileapps/react/marketchat/node_modules/react-native/package.json`

I upgraded my RN just today to 0.49.1 and I see on your package your dependency required 0.48.1

  "dependencies": {
    "create-react-class": "^15.6.0",
    "hyperflow": "^0.1.0",
    "prop-types": "^15.5.10",
    "react": "=16.0.0-alpha.12",
    "react-native": "=0.48.1",
    "react-native-animatable": "^1.2.3"
  },

I do have this version now

    "native-base": "^2.3.1",
    "react": "16.0.0-beta.5",
    "react-native": "^0.49.1",

do I need to revert/downgrade to 0.48.1?

thanks,

tuantle commented 6 years ago

I'll update this to work with 0.49.1 in a day or two.

tuantle commented 6 years ago

Just push new version with latest react native support.