Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios运行报错 #1291

Open
zqyts opened this issue Mar 15, 2023 · 0 comments
Open

ios运行报错 #1291

zqyts opened this issue Mar 15, 2023 · 0 comments

Comments

@zqyts
Copy link

zqyts commented Mar 15, 2023

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

1 | "use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"default",{enumerable:true,get:function get(){return _picker.Picker;}});var _picker=require("@react-native-picker/picker");

Environment Info
antd 5.0.4
React 18.1.0
System ios
Browser 谷歌
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant