requireNativeComponent:在 UIManager 中找不到“RNLineChart”

问题描述

升级到 React Native 64.2 版本后,出现图片中的错误

Steps to Reproduce the Problem
I tried following;
❯ reinstall the react-native-chart-wrapper package
❯ pod deintegrate && pod cache clean --all
❯ pod install

不变违规:requireNativeComponent:在 UIManager 中找不到“RNLineChart”

规格 版本:“react-native-charts-wrapper”:“^0.5.7” 平台:安卓和ios 子系统:

❯ react-native info
info Fetching system and libraries information...
(node:55086) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
System:
OS: macOS 11.3.1
cpu: (8) x64 Intel(R) Core(TM) i7-6700HQ cpu @ 2.60GHz
Memory: 2.27 GB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.5.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.19.1 - /usr/local/bin/npm
Watchman: 2021.06.07.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /Users/ibrahimyolbir/.rvm/gems/ruby-2.7.1/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5,DriverKit 20.4,macOS 11.3,tvOS 14.5,watchOS 7.4
Android SDK:
API Levels: 28,29,30
Build Tools: 28.0.3,29.0.0,29.0.1,29.0.2,29.0.3
System Images: android-27 | Google Play Intel x86 Atom,android-29 | Google Apis Intel x86 Atom,android-29 | Google Play Intel x86 Atom,android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.7660.26.42.7486908
Xcode: 12.5/12E262 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_242 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...