react-native: Error : 'ScrollView' has no propType for native prop 'RCTScrollView.onScrollAnimationEnd' of native type ' BOOL'
I’m stuck on this error.
{ “name”: “app-20”, “version”: “0.0.0”, “description”: “Hello Expo!”, “author”: null, “private”: true, “main”: “node_modules/expo/AppEntry.js”, “dependencies”: { “axios”: “^0.16.2”, “expo”: “^20.0.0”, “latlng-to-zip”: “^0.0.1”, “lodash”: “^4.17.4”, “react”: “16.0.0-alpha.12”, “react-addons-update”: “^15.6.0”, “react-native”: “^0.47.2”, “react-native-calendar”: “^0.12.3”, “react-native-calendars”: “^1.5.8”, “react-native-communications”: “^2.2.1”, “react-native-easy-toast”: “^1.0.6”, “react-native-elements”: “^0.16.0”, “react-native-flexbox-grid”: “^0.3.1”, “react-native-google-place-autocomplete”: “^0.3.0”, “react-native-indicator”: “^0.6.7”, “react-native-loading-spinner-overlay”: “^0.5.2”, “react-native-maps”: “^0.16.2”, “react-native-modal”: “^3.1.0”, “react-native-modal-datetime-picker”: “^4.11.0”, “react-native-multiple-select-list”: “^1.0.4”, “react-native-progressive-input”: “^1.0.3”, “react-native-segmented-control-tab”: “^3.2.1”, “react-native-signature-pad”: “^0.0.8”, “react-navigation”: “^1.0.0-beta.11”, “react-redux”: “^5.0.6”, “redux”: “^3.7.2”, “redux-form”: “^5.0.1”, “redux-persist”: “^4.9.1”, “redux-thunk”: “^2.2.0” } }
{ “expo”: { “name”: “thapp”, “description”: “thapp”, “slug”: “thapp”, “privacy”: “unlisted”, “sdkVersion”: “20.0.0”, “version”: “1.0.5”, “orientation”: “portrait”, “primaryColor”: “#cccccc”, “icon”: “./assets/icons/app.png”, “loading”: { “icon”: “./assets/icons/loading.png”, “hideExponentText”: false }, “packagerOpts”: { “assetExts”: [“ttf”, “mp4”] }, “ios”: { “bundleIdentifier”: “com.thapp.exp”, “supportsTablet”: true }, “android”: { “package”: “org.thapp.exp”, } } }
I also tried replacing react-native package with “react-native”: “^0.47.2”, But didnt work.
Is this a bug report?
(write your answer here)
Have you read the Contributing Guidelines?
(Write your answer here.)
Environment
Steps to Reproduce
(Write your steps here:)
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 21
- Comments: 26
Found the possible solution!
expo
version inpackage.json
to21.0.2
react-native
version inpackage.json
to0.48.4
node_modules
npm install
oryarn install
app.json
to21.0.0
… ScrollView is working AGAIN! 😃me too. It is an error in FlatList.
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.
Same here. I created a new fresh app using
create-react-native-app
. The following dependencies have been installedI started getting that error, infinitely, causing the browser consume a lot of memory.
I’ve tried updating to
0.48.4
with this commandreact-native-git-upgrade 0.48.4
, it installs the react native v0.48 but it doesn’t updatepackage.json
and/orapp.json
.Finally, I end up with the same solution as @nokwin:
And make sure you have the following sdkVersion in
app.json
I have this same error and I don’t use expo. Anyone found a solution?
Feels like this has just decided to break on me this morning, right before a deadline. Any help, please??
This is happening while using Expo and create-react-native-app
Hmm thats not solving it for me, anybody else stuck?
hm I actually asked you because I only got this issue after updating to xcode 9, so if you had not updated yet, that might be a sign that your issue is a different one, and that’s why this solution is not working.