Bug // // App sturzt ab, wenn Yarn.lock complet neu erstellt wird
Zusammenfassung
Wenn man die yarn.lock-Datei löscht und neu erstellen lässt, stürtz die App im Dev-Client ab(Android, iOS noch nicht getestet). Auch nachdem man alle Caches gelöscht und der prebuild ausgefürt wurden.
Betroffene Version(en)
- App-Version:
- Device:
- Betriebssystem:
Schritte zur Reproduktion
- yarn.lock löschen: rm -rfv yarn.lock
- Alle node-modules ordner löschen: git clean -xdf
- yarn benutzen: npx yarn
- in den Tuc-Ordner wechesel: cd apps/app-tuc
- prebuild ausfüren: npx expo prebuild -p android --clean
- app starten: npx expo run:android
Was ist das aktuelle Fehlverhalten?
Was ist das erwartete aktuelle Verhalten?
Relevante Logs und/oder Screenshots
ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCWebViewModule' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","SourceCode","Timing","AppState","BlobModule","WebSocketModule","DevSettings","DevToolsSettingsManager","Networking","Appearance","DevLoadingView","HeadlessJsTaskSupport","DeviceInfo","UIManager","DeviceEventManager","RNCSafeAreaContext","RNCAsyncStorage","RNCAsyncStorage","SoundManager","NativeAnimatedModule","StatusBarManager","StatusBarManager","I18nManager","RNGestureHandlerModule"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","RedBox","BugReporting","PlatformLocalStorage","RNC_AsyncSQLiteDBStorage","FrameRateLogger","KeyboardObserver","RNCWebViewModule"]}, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
Mögliche Lösungen
Test
Bitte in der HTWK-App prüfen, ob noch Bilder in den News oder den andern Modulen angezeigt werden.
Edited by Toni Beier