React native App hat Probleme beim Debuggen
Posted: 13 Apr 2025, 21:34
Vor kurzem habe ich zu viele Probleme erlebt, nachdem ich auf RN 0.77.0
das Letzte ist, dass die App keine Verbindung zur Metro herstellen kann, oder das ist, was ich denke. Und dann können keine Protokolle von meiner App empfangen. 18.4 < /p>
Metro -Konfiguration (in metro.config.js) < /p>
npx reag-native info
das Letzte ist, dass die App keine Verbindung zur Metro herstellen kann, oder das ist, was ich denke. Und dann können keine Protokolle von meiner App empfangen. 18.4 < /p>
Metro -Konfiguration (in metro.config.js) < /p>
Code: Select all
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
/**
* Metro configuration for React Native
* https://reactnative.dev/docs/metro
*
* @type {import('@react-native/metro-config').MetroConfig}
*/
const config = {};
module.exports =mergeConfig(getDefaultConfig(__dirname), config);
npx reag-native info
Code: Select all
info Fetching system and libraries information...
System:
OS: macOS 15.4
CPU: (8) x64 Intel(R) Core(TM) i7-1060NG7 CPU @ 1.20GHz
Memory: 246.89 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.15.0
path: /usr/local/bin/node
Yarn:
version: 1.22.17
path: /usr/local/bin/yarn
npm:
version: 10.7.0
path: /usr/local/bin/npm
Watchman:
version: 2025.03.10.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /Users/soniatoledo/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.4
- iOS 18.4
- macOS 15.4
- tvOS 18.4
- visionOS 2.4
- watchOS 11.4
Android SDK:
API Levels:
- "23"
- "25"
- "29"
- "30"
- "31"
- "33"
- "34"
- "35"
Build Tools:
- 28.0.3
- 29.0.2
- 30.0.2
- 30.0.3
- 31.0.0
- 33.0.0
- 33.0.1
- 34.0.0
- 35.0.0
System Images:
- android-29 | Intel x86 Atom
- android-29 | Google APIs Intel x86 Atom
- android-29 | Google APIs Intel x86 Atom_64
- android-29 | Google Play Intel x86 Atom
- android-33 | Google Play Intel x86_64 Atom
- android-34 | Google APIs Intel x86_64 Atom
- android-35 | Google Play ARM 64 v8a
- android-35 | Google Play Intel x86_64 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12071903
Xcode:
version: 16.3/16E140
path: /usr/bin/xcodebuild
Languages:
Java:
version: 1.8.0_202
path: /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/bin/javac
Ruby:
version: 2.7.5
path: /Users/soniatoledo/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.77.0
wanted: 0.77.0
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true