From 6e0b619ad324a48de7e5f0f0ac2c73e4a3e78b5a Mon Sep 17 00:00:00 2001 From: Davide Scaini Date: Fri, 24 Apr 2026 11:24:16 +0200 Subject: [PATCH] fix: pin react to 19.2.5 and @types/react to ~19.2.0 react-dom@19.2.5 (pulled by @expo/router-server) requires react@^19.2.5; @react-native/virtualized-lists@0.85.2 requires @types/react@^19.2.0. npm install now completes without errors or warnings. --- mobile/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/package.json b/mobile/package.json index 5afd062..311e783 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -22,7 +22,7 @@ "expo-linking": "~55.0.0", "expo-splash-screen": "~55.0.0", "expo-status-bar": "~55.0.0", - "react": "19.2.3", + "react": "19.2.5", "react-native": "0.85.2", "react-native-safe-area-context": "^5.0.0", "react-native-screens": "^4.0.0", @@ -31,7 +31,7 @@ }, "devDependencies": { "@babel/core": "^7.25.0", - "@types/react": "~19.1.0", + "@types/react": "~19.2.0", "typescript": "~5.8.0" } }