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

Undefined is not an object (evaluating React.Proptypes.number) #56

Open
boxOfAces opened this issue Oct 4, 2017 · 3 comments · May be fixed by #58
Open

Undefined is not an object (evaluating React.Proptypes.number) #56

boxOfAces opened this issue Oct 4, 2017 · 3 comments · May be fixed by #58

Comments

@boxOfAces
Copy link

Getting this error when trying to run the app on an Android Virtual Device.

The package.json looks like this:
{ "name": "ZiliunApp", "version": "0.0.1", "private": true, "scripts": { "start": "node_modules/react-native/packager/packager.sh" }, "dependencies": { "react": "^16.0.0", "react-native": "^0.17.0", "react-native-parallax-view": "^2.0.6" } }

The error's coming from ParallaxView.js:25
Error Screen Link

parndt added a commit to cvcnetwork/react-native-parallax-view that referenced this issue Oct 23, 2017
This relates to a breaking change in React 16

Fixes lelandrichardson#57
Fixes lelandrichardson#56
@parndt parndt linked a pull request Oct 23, 2017 that will close this issue
parndt added a commit to cvcnetwork/react-native-parallax-view that referenced this issue Oct 23, 2017
This relates to a breaking change in React 16 where PropTypes and
createClass were removed from React

Fixes lelandrichardson#57
Fixes lelandrichardson#56
@richjava
Copy link

I'm also getting this error. Is there a fix for this? Thanks

allanwgithub added a commit to cvcnetwork/react-native-parallax-view that referenced this issue Mar 19, 2019
This relates to a breaking change in React 16 where PropTypes and
createClass were removed from React

Fixes lelandrichardson#57
Fixes lelandrichardson#56
@mmalizade
Copy link

mmalizade commented Jan 23, 2020

how can I add this update to my react native project using yarn?
I'm now using v2.0.6

@100010
Copy link

100010 commented May 12, 2020

This repository doesn't seem to be maintained.
I created the same library that solved this problem.
https://github.com/100010/react-native-parallax-header-view
Please check.

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

Successfully merging a pull request may close this issue.

4 participants