undefined is not an object (evaluating 'RNGestureHandlerModule.State'

前端 未结 20 846
Happy的楠姐
Happy的楠姐 2020-12-01 04:43

I have installed react-navigation in my React Native project. Its a starter project doesn\'t have any codes. But while running project I am facing

20条回答
  •  情书的邮戳
    2020-12-01 04:48

    may be its late. Temporary solution downgrade the version of react navigation:
    1- unlink and uninstall react-navigation and the handler
    2- add "react-navigation": "^2.18.2" to package.json
    3- remove node_modules folder
    4- npm i
    5- react-native link

提交回复
热议问题