我正在使用react native expo版本37.0.3,每次运行该应用程序时都会收到此错误`
Unable to resolve "@react-native-community/masked-view" from "node_modules\@react-navigation\stack\src\views\MaskedView.native.tsx"
Building JavaScript bundle: error`
我不知道为什么会出现这个错误
您尚未遵循React Navigation的安装说明。
由于您正在使用Expo,因此您应该运行
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
,根据入门文档。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句