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

react-native:安装react-native扩展包时报错 Invariant Violation: requireNativeComponent: #9

Open
timi-black opened this issue Aug 28, 2019 · 0 comments

Comments

@timi-black
Copy link
Contributor

安装 @react-native-community/slider

重载后报错

Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager.

This error is located at:
    in RNCSlider
    in ForwardRef
    in RCTView
    in p
    in RCTView
    in l
    in v
    in RCTView
    in RCTView
    in c

exports
    AppEntry.bundle?platform=ios&dev=false&minify=true&hot=false:170:1627
get
    ...
    [native code]:0

image

解决方式

react-native link @react-native-community/slider

cd ios

pod install

react-native run-ios

提示

react-native-webview 也同理

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