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
38
38
- ** Install @tensorflow/tfjs ** - ` npm install @tensorflow/tfjs `
39
39
- ** Install @tensorflow/tfjs-react-native ** - ` npm install @tensorflow/tfjs-react-native `
40
40
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
41
44
42
45
> After this point, if you are using Xcode to build for ios, you should use a ‘.workspace’ file instead of the ‘.xcodeproj’
43
46
Original file line number Diff line number Diff line change 69
69
},
70
70
"peerDependencies" : {
71
71
"@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"
81
80
},
82
81
"resolutions" : {
83
82
"minimist" : " 1.2.6"
You can’t perform that action at this time.
0 commit comments