File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ Note that if you are using in a managed expo app the install instructions may be
3838 - ** Install @tensorflow/tfjs ** - ` npm install @tensorflow/tfjs `
3939 - ** Install @tensorflow/tfjs-react-native ** - ` npm install @tensorflow/tfjs-react-native `
4040
41+ If you encounter dependency conflict error in npm install, you can either:
42+ - Follow the instructions to use ` --force ` or ` --legacy-peer-deps `
43+ - Or use yarn to install
4144
4245> After this point, if you are using Xcode to build for ios, you should use a ‘.workspace’ file instead of the ‘.xcodeproj’
4346
Original file line number Diff line number Diff line change 6969 },
7070 "peerDependencies" : {
7171 "@react-native-async-storage/async-storage" : " ^1.13.0" ,
72- "@tensorflow/tfjs-backend-cpu" : " ~3.7.0" ,
73- "@tensorflow/tfjs-backend-webgl" : " ~3.7.0" ,
74- "@tensorflow/tfjs-core" : " ~3.7.0" ,
75- "expo-asset" : " ^7.0.0" ,
76- "expo-camera" : " ^7.0.0" ,
77- "expo-gl" : " ^7.0.0" ,
78- "react" : " ^16.12.0" ,
79- "react-native" : " >= 0.58.0" ,
80- "react-native-fs" : " ^2.14.1"
72+ "@tensorflow/tfjs-backend-cpu" : " ^4.13.0" ,
73+ "@tensorflow/tfjs-backend-webgl" : " ^4.13.0" ,
74+ "@tensorflow/tfjs-core" : " ^4.13.0" ,
75+ "expo-camera" : " ^13.4.4" ,
76+ "expo-gl" : " ^13.0.1" ,
77+ "react" : " *" ,
78+ "react-native" : " >= 0.72.0" ,
79+ "react-native-fs" : " ^2.20.0"
8180 },
8281 "resolutions" : {
8382 "minimist" : " 1.2.6"
You can’t perform that action at this time.
0 commit comments