Closed tanishqkancharla closed 2 weeks ago
Are you using plain React Native or Expo?
Expo. Here's my package.json:
{
"name": "shortlist",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"tsc": "tsc --noEmit",
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"test": "vitest --no-isolate",
"deploy": "eas build --profile preview --platform ios",
"ionic:serve": "npm run start"
},
"dependencies": {
"@internationalized/date": "^3.5.1",
"@react-native-anywhere/polyfill-base64": "^0.0.1-alpha.0",
"@react-native-community/checkbox": "^0.5.16",
"@react-native-community/netinfo": "^11.1.1",
"@react-navigation/native-stack": "^6.9.17",
"@triplit/react": "^0.3.42",
"@types/lodash-es": "^4.17.12",
"@types/react": "~18.2.14",
"event-target-polyfill": "^0.0.4",
"expo": "~49.0.15",
"expo-build-properties": "~0.8.3",
"expo-checkbox": "~2.4.0",
"expo-dev-client": "~2.4.12",
"expo-device": "~5.4.0",
"expo-haptics": "~12.4.0",
"expo-notifications": "~0.20.1",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"hasown": "^2.0.2",
"lodash-es": "^4.17.21",
"position-strings": "^2.0.1",
"react": "^18.3.1",
"react-native": "0.72.6",
"react-native-get-random-values": "^1.11.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-url-polyfill": "^2.0.0",
"teg-parser": "^0.15.0",
"tuple-database": "^2.2.4",
"typescript": "^5.1.3"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/diff": "^5.0.9",
"diff": "^5.1.0",
"pretty-format": "^29.7.0",
"tsx": "^4.7.1",
"vitest": "^1.1.0"
},
"private": true
}
Hi @tanishqkancharla thanks for the heads up. It looks like we were erroneously including react-dom
as a peer dep which was causing resolution issues. We just pushed a release out so using the latest @triplit/react
package (0.3.34) should install properly.
Going to close for now, but happy to re-open the issue if there's still problems with the install.
boom! No more problems, thanks!
I'm running into a few problems trying to use triplit with react native. One is that after installing triplit, i see this anytime i install:
something about peer dependencies.