TypeError: Cannot read properties of undefined (reading 'style')
See original GitHub issueDescription
I am having this error TypeError: Cannot read properties of undefined (reading ‘style’)
Version
0.64.3
Output of react-native info
./node_modules/react-native-elements/src/config/ViewPropTypes.js:3:22 "export ‘ViewPropTypes’ (imported as ‘RNViewPropTypes’) was not found in ‘react-native-web/dist/index’ 1 | import { View, ViewPropTypes as RNViewPropTypes } from ‘react-native’; 2 |
3 | const ViewPropTypes = RNViewPropTypes || View.propTypes; | ^ 4 | 5 | export default ViewPropTypes; 6 | ./node_modules/react-native-ratings/src/SwipeRating.js:332:9 "export ‘ViewPropTypes’ was not found in ‘react-native-web/dist/index’ 330 | onFinishRating: PropTypes.func, 331 | showRating: PropTypes.bool, 332 | style: ViewPropTypes.style, | ^ 333 | readonly: PropTypes.bool, 334 | startingValue: PropTypes.number, 335 | fractions: fractionsType,
Steps to reproduce
Run Npm i and then npm start of this repo
Snack, code example, screenshot, or link to a repository
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:13
Top GitHub Comments
Problem solved
@Muhammad-Bilal-7896 , I have solved the problem. I had to remove
Typography
.Thanks for your time