galikvalkin / react-native-form-validation

Simple JS form validation
MIT License
17 stars 5 forks source link

error undefined is not an object #3

Closed YasirSherzad closed 6 years ago

YasirSherzad commented 7 years ago

I receive this error and it kinda points to the line where I am importing import { Form, FormItem } from 'react-native-form-validation'

this is the error: undefined is not an object (evaluating '_react.PropTypes.bool') I think this happening because the separation of PropTypes from react.

How to fix this! thanx

vedovato commented 6 years ago

Hello, i managed to fix it. Just opened a PR, let's wait for @galikvalkin review and merge.

@YasirPanjsheri, you can try my fix now by pointing my repo in your package.json file Hope it helps

galikvalkin commented 6 years ago

Hey guys, thank you for your involvement;

@vedovato Thank you for your help. I've seen your pull request. Unfortunately, it contains node_modules folder which is not a good option here. Sorry, I can not merge it.

@YasirPanjsheri I've changed dependencies in module. It should work now.