Installed the package with npm, setup a basic component by copy/pasting the example (see below for code), and get this error:
Invariant Violation: requireNativeComponent: "RCTModalHostView" was not found in the UIManager.
This error is located at:
in RCTModalHostView (created by Modal)
in Modal (created by DropdownModal)
in DropdownModal
in RCTView (created by View)
in View
in Unknown (created by TouchableOpacity)
in TouchableOpacity (created by TouchableOpacity)
in TouchableOpacity
in Unknown (created by AppConfigPanel)
in RCTView (created by View)
in View (created by AppConfigPanel)
in AppConfigPanel (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by CardContainer)
in RCTView (created by View)
in View (created by CardContainer)
in RCTView (created by View)
in View (created by CardContainer)
in RCTView (created by View)
in View
in CardSheet (created by Card)
in RCTView (created by View)
in View
in Unknown (created by Card)
in Dummy (created by Card)
in <…>
Installed the package with
npm
, setup a basic component by copy/pasting the example (see below for code), and get this error:Environment:
npm --version: 10.5.0
node --version: v21.7.2
package.json
:Code, copied from the example project but removing the
Icon
references: