Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Cannot read property 'oneOf' of undefined in 0.3.7 in React Native #173

Open
BenCook28 opened this issue Nov 8, 2017 · 7 comments
Open

Comments

@BenCook28
Copy link

I tried bringing your Toolbar component into a React Native 0.49.5 project, and brought in your other files needed to remove error messages. I traced the error in the title to a cryptic node module, and I never explicitly use oneOf.

image

@HemrajLodha
Copy link

I also got same issue. unable to find PropTypes in react lib.

@ulaserdegor
Copy link

I have the same error.

@ShaikhKabeer
Copy link

Remove import {PropTypes} from 'react-native' and place import PropTypes from 'prop-types'. Do it manually

@jiteshwadia
Copy link

Error is still there.

@raideltorres
Copy link

Also getting this error

@asifalikhokhar
Copy link

I am also getting this error, any work around?

@nitinAct
Copy link

we can't do manually in so many files it's like stupidity. is there way to resolve this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants