Scrollview does not have proptype for the built-in prop RCTScrollView.overScrollMode of the native type string

I get the following question: does anyone have any ideas about this

scrollview does not have a proptype for the built-in prop RCTScrollView.overScrollMode of a native type string, if you did not change this setting yourself, this usually means that your versions of the native and javascript code are not synchronized

+6
source share
3 answers

Perhaps your dependent version of the package is incompatible, I am updating my dependencies to the latest version, now it works in these 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"
+4
source

This is a tricky thing. Depends on which package manager you have.

You will have to update the reaction-native.

react-native upgrade

yarn upgrade react-native, - 2017 .

+2

Found a 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 works AGAIN! :)

+1
source

All Articles