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

  1. yarn.lock löschen: rm -rfv yarn.lock
  2. Alle node-modules ordner löschen: git clean -xdf
  3. yarn benutzen: npx yarn
  4. in den Tuc-Ordner wechesel: cd apps/app-tuc
  5. prebuild ausfüren: npx expo prebuild -p android --clean
  6. 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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information