I’ve been getting this error in mac M1 laptop , meanwhile it is fine with my other device
I’ve been stuck here and cant fix these error , please help
Also there is this error "Requiring module "node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx"
I don’t even install drawer in other device and it is fine
Note also when I search globaly for <View pointerEvents='auto' ...>
// pointerEvents , there is no such thing , since I never added that too to my view
4
Answers
The error is correct – pointerEvents is not a valid style property. It’s a prop of View. Don’t add it to your styles, set it directly on the View:
See the docs for more on how to use pointerEvents. Auto is the default and doesn’t need to be specified.
i was facing the same issue , you can fix it in drawer version "6.1.4". please verify the version on yarn.lock
I commented the pointerEvents: ‘auto’ from the @react-navigation library on this path
./node_modules/@react-navigation/drawer/src/views/modern/Overlay.tsx
error went away. I have the latest version of lib installed.
@react-navigation/drawer
v6.5.7 still has same issue. I don’t know which version is buggy. But for me, lowering down to v6.5.0 did the work.