ant-design / ant-design-mobile-rn

Ant Design for React Native
https://rn.mobile.ant.design/
MIT License
3k stars 610 forks source link

[Bug] npx react-native link Error #1304

Closed wulisensen closed 2 months ago

wulisensen commented 12 months ago

💬 Before You Start

🙋 Description/Step to reproduce

testExpoApp git:(main) ✗ npx react-native link

warn Package @ant-design/react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this. error: unknown command 'link'

💻 Environment

Expo

⚫️ Output of npx react-native info

warn Package @ant-design/react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this. info Fetching system and libraries information... System: OS: macOS 13.0.1 CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz Memory: 38.09 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.0/bin/yarn npm: 8.19.4 - ~/.nvm/versions/node/v16.20.0/bin/npm Watchman: 2023.05.01.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.12.1 - /Users/alsc/.rvm/rubies/ruby-3.0.0/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 Android SDK: Not Found IDEs: Android Studio: Not Found Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild Languages: Java: Not Found npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.8 => 0.71.8 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found info React Native v0.72.2 is now available (your project is running on v0.71.8). info Changelog: https://github.com/facebook/react-native/releases/tag/v0.72.2 info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.71.8 info For more info, check out "https://reactnative.dev/docs/upgrading".

Additional comments

No response

Oakyden commented 11 months ago

same using a non-expo react native app

1uokun commented 2 months ago

fixed in 5.1.2