启动项目报错:Unable to resolve module @react-native-picker/picker from D:\project\reactNative\app\node_modules\@ant-design\react-native\lib\picker\NativePicker.ios.js: @react-native-picker/picker could not be found within the project or in these directories:
node_modules\@ant-design\react-native\node_modules
node_modules
Reproduction link
https://github.com/ant-design/ant-design-mobile-rn
Steps to reproduce
用5.0.4版本antd rn组件库,react版本:18.1.0,react-native版本:0.70.5,expo版本: 47,expo start编译运行,ios报红屏错误
What is expected?
在ios能正常运行使用
What is actually happening?
启动项目报错:Unable to resolve module @react-native-picker/picker from D:\project\reactNative\app\node_modules\@ant-design\react-native\lib\picker\NativePicker.ios.js: @react-native-picker/picker could not be found within the project or in these directories: node_modules\@ant-design\react-native\node_modules node_modules