Closed
Description
👟 Reproduction steps
When installing react-native-appwrite in current Expo project (v52.0.28), there is a conflict with several package versions (metro, metro-resolver, metro-config)
To see an issue run:
npx expo-doctor
The reason this happens is because the way package.json is defined.
It sets both "dependencies" and "peerDependencies". Because "dependencies" are more restrictive this versioning issue happens.
Probably "dependencies" should be removed and just "peerDependencies" kept? That would solve versions issue I think.
👍 Expected behavior
Versions issues should not be reported.
👎 Actual Behavior
Expo doctor shows these issues:
Detailed check results:
Expected package metro@^0.81.0
Found invalid:
metro@0.80.12
(for more info, run: npm why metro)
Expected package metro-resolver@^0.81.0
Found invalid:
metro-resolver@0.80.12
(for more info, run: npm why metro-resolver)
Expected package metro-config@^0.81.0
Found invalid:
metro-config@0.80.12
(for more info, run: npm why metro-config)
🎲 Appwrite version
Version 0.7.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct