React Native: No propType for native prop RCTView.maxHeight
The reason for this error was that another instance of React packager (still on 0.28
) was running in the background at the time after I updated to 0.30
.
Restarting React packager solved the problem.
I restarted the react native by react-native start and it solved my issue.
I was getting this same error message, although in my case it was caused by incompatibilities between dependencies.
What I did to solve it was:
- Create a new project using
create-react-native-app foo
. This should install compatible dependencies. - Open your project's
package.json
and update the versions of the dependencies to match those in foo'spackage.json
. - Check that expo version match the
sdkVersion
in the fileapp.json
and update if necessary. - Delete
node_modules
and reinstall all the packages.
I hope it helps!