Nach RN Upgrade 0,30 ich den Fehler unten noch gezeigt begann zu sehen, beim Bau möglichst einfachen app:Reagieren Nativ: Keine PropType für native prop
react-native init AwesomeProject
react-native run-ios
- Das seltsamste ist, dass Komponenten
BlurView
,VibrancyView
undRNSearchBar
sind in den Warnmeldungen enthalten, obwohl das Projekt sie nicht verwendet. - Neukompilieren/Reinigen des Projekts behebt das Problem nicht.
Console & Fehler:
2016-07-22 08:48:02.985 [warn][tid:main][RCTEventEmitter.m:52] Sending `websocketFailed` with no listeners registered.
2016-07-22 08:48:03.031 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "BlurView" does not exist
2016-07-22 08:48:03.032 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "VibrancyView" does not exist
2016-07-22 08:48:03.033 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "RNSearchBar" does not exist
2016-07-22 08:48:03.040 [error][tid:com.facebook.react.JavaScript] `Constructor` has no propType for native prop `RCTView.maxHeight` of native type `CGFloat`
If you haven't changed this prop yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.
2016-07-22 08:48:03.043 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: `Constructor` has no propType for native prop `RCTView.maxHeight` of native type `CGFloat`
If you haven't changed this prop yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.
2016-07-22 08:48:03.102 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module.
2016-07-22 08:48:03.104 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: Module AppRegistry is not a registered callable module.
Es schlägt vor, dass Ihre js und nativen Code nicht synchron sind. Hast du "react-native upgrade" versucht? –
Ich habe versucht, dies nicht zu helfen, alle meine Pakete sind auf dem neuesten Stand, ich benutze React Native v. '0.30' –