FAILURE: Build failed with an exception.
* Where:
Build file '/.../node_modules/react-native-pytorch-core/android/build.gradle' line: 132
* What went wrong:
A problem occurred evaluating project ':react-native-pytorch-core'.
> Expected directory '/../node_modules/react-native/android' to contain exactly one file, however, it contains no files.
Apple M1 Pro
node : v20.2.0
"dependencies": {
"@expo/vector-icons": "^13.0.0",
"@react-navigation/native": "^6.0.2",
"expo": "~49.0.5",
"expo-font": "~11.4.0",
"expo-linking": "~5.0.2",
"expo-router": "2.0.0",
"expo-splash-screen": "~0.20.4",
"expo-status-bar": "~1.6.0",
"expo-system-ui": "~2.4.0",
"expo-web-browser": "~12.3.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.3",
"react-native-gesture-handler": "~2.12.0",
"react-native-pytorch-core": "^0.2.4",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/react": "~18.2.14",
"jest": "^29.2.1",
"jest-expo": "~49.0.0",
"react-test-renderer": "18.2.0",
"typescript": "^5.1.3"
},