Herkese merhabalar react native ve expo ile mobil uygulama geliştirmeye çalışıyorum ama başlıkta da belirttiğim hatayı alıyorum bir türlü çözemedim yardımcı olur musunuz?
app.json
{
"expo": {
"name": "EminAI",
"slug": "EminAI",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "emin-ai",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
"ios": {
"supportsTablet": true
},
"web": {
"bundler": "metro",
"output": "single",
"favicon": "./assets/images/favicon.png"
},
"plugins": [
"expo-router",
"expo-build-properties"
],
"experiments": {
"typedRoutes": true
},
"extra": {
"router": {
"origin": false
},
"eas": {
"projectId": "fc5c4d57-7e43-4f89-91ff-640051bb758a"
}
},
"android": {
"package": "com.eminai.app",
"compileSdkVersion": 34,
"targetSdkVersion": 34,
"minSdkVersion": 21,
"buildToolsVersion": "34.0.0",
"kotlinVersion": "1.8.0",
"enableProguardInReleaseBuilds": true,
"jsEngine": "hermes",
"adaptiveIcon": {
"foregroundImage": "./assets/images/icon.png",
"backgroundColor": "#ffffff"
}
},
"runtimeVersion": {
"policy": "appVersion"
},
"updates": {
"url": "https://u.expo.dev/fc5c4d57-7e43-4f89-91ff-640051bb758a"
}
}
}
package.json
{
"name": "eminai",
"main": "expo-router/entry",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "EXPO_NO_TELEMETRY=1 NODE_OPTIONS=--max_old_space_size=4096 expo start",
"build:web": "NODE_OPTIONS=--max_old_space_size=4096 expo export --platform web",
"lint": "expo lint"
},
"dependencies": {
"@babel/plugin-transform-class-static-block": "^7.24.1",
"@expo/vector-icons": "^14.0.2",
"@lucide/lab": "^0.1.2",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/native": "^7.0.14",
"expo": "~52.0.38",
"expo-blur": "^14.0.3",
"expo-build-properties": "~0.13.2",
"expo-clipboard": "~7.0.1",
"expo-constants": "^17.0.5",
"expo-dev-client": "~5.0.14",
"expo-document-picker": "~13.0.3",
"expo-file-system": "~18.0.11",
"expo-font": "^13.0.3",
"expo-haptics": "^14.0.1",
"expo-image-picker": "~16.0.6",
"expo-linear-gradient": "^14.0.2",
"expo-linking": "^7.0.5",
"expo-router": "~4.0.18",
"expo-speech": "~13.0.1",
"expo-splash-screen": "~0.29.22",
"expo-status-bar": "^2.0.1",
"expo-symbols": "^0.2.2",
"expo-system-ui": "^4.0.7",
"expo-web-browser": "^14.0.2",
"lucide-react-native": "^0.475.0",
"pdfjs-dist": "^4.10.38",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.7",
"react-native-gesture-handler": "~2.20.2",
"react-native-reanimated": "^3.16.7",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.4.0",
"react-native-svg": "15.8.0",
"react-native-url-polyfill": "^2.0.0",
"react-native-web": "^0.19.13",
"react-native-webview": "13.12.5"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-export-namespace-from": "^7.25.9",
"@types/react": "~18.3.12",
"typescript": "^5.3.3"
}
}
Log kaydı:
'Log files:
C:\Users\ismet\AppData\Local\npm-cache\_logs\2025-03-12T21_02_42_169Z-debug-0.log
# npm resolution error report
While resolving: bolt-expo-starter@1.0.0
Found: @react-navigation/bottom-tabs@7.2.0
node_modules/@react-navigation/bottom-tabs
@react-navigation/bottom-tabs@"^6.5.16" from the root project
@react-navigation/bottom-tabs@"^7.2.0" from expo-router@4.0.18
node_modules/expo-router
expo-router@"^4.0.18" from the root project
Could not resolve dependency:
@react-navigation/bottom-tabs@"^6.5.16" from the root project
Conflicting peer dependency: @react-navigation/native@6.1.18
node_modules/@react-navigation/native
peer @react-navigation/native@"^6.0.0" from @react-navigation/bottom-tabs@6.6.1
node_modules/@react-navigation/bottom-tabs
@react-navigation/bottom-tabs@"^6.5.16" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.