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

Cannot read property 'oneOf' of undefined #6

Open
sandrina-p opened this issue Mar 18, 2018 · 0 comments
Open

Cannot read property 'oneOf' of undefined #6

sandrina-p opened this issue Mar 18, 2018 · 0 comments

Comments

@sandrina-p
Copy link

Hey there 👋

I've installed your package on my project that uses create-react-native-app and when I import the component it says

Cannot read property 'oneOf' of undefined

image

These are my project's dependencies:

{
  "dependencies": {
    "expo": "^24.0.2",
    "react": "16.0.0",
    "react-native": "0.51.0",
    "react-native-keyboard": "^2.0.0",
    "react-navigation": "^1.5.8",
    "react-redux": "^5.0.6",
    "redux": "^3.7.2",
    "redux-logger": "^3.0.6",
    "styled-components": "^2.4.0"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.2",
    "babel-jest": "22.0.6",
    "babel-preset-react-native": "4.0.0",
    "eslint": "^4.19.0",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-config-airbnb-flow": "^1.0.2",
    "eslint-plugin-flowtype": "^2.46.1",
    "eslint-plugin-import": "^2.9.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-react": "^7.7.0",
    "jest": "22.0.6",
    "react-test-renderer": "16.2.0"
  }
}

What am I missing? Thank you

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

1 participant