Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

scrollview has no proptype for native prop RCTScrollView.overScrollMode of native type string

I am getting bellow issue, is any one have idea about this

scrollview has no proptype for native prop RCTScrollView.overScrollMode of native type string if you havent changed this prop yourself this usually means that your versions of the native code and javascript code are out of sync

like image 725
Vishal Pachpande Avatar asked Aug 03 '17 12:08

Vishal Pachpande


3 Answers

It's maybe your dependent package version are mismatch, I upgrade my dependencies to the latest, now it works at those versions.

"expo": "^21.0.2",
"native-base": "^2.3.2",
"react": "16.0.0-alpha.12",
"react-native": "^0.48.4",
"react-navigation": "^1.0.0-beta.12"
like image 112
inoutwhy Avatar answered Nov 06 '22 15:11

inoutwhy


That's a tricky one. Depends on what package manager you have.

You'll have to upgrade react-native.

react-native upgrade if using react-scripts

yarn upgrade react-native if using the latest create-react-app tools as of August, 2017.

like image 3
vmk Avatar answered Nov 06 '22 15:11

vmk


Found the possible solution!

 1. Bump expo version in package.json to 21.0.2
 2. Bump react-native version in package.json to 0.48.4    
 3. Remove node_modules
 4. npm install or yarn install
 5. Change sdk version in app.json to 21.0.0

... ScrollView is working AGAIN! :)

like image 1
Rajan Maharjan Avatar answered Nov 06 '22 17:11

Rajan Maharjan