Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix symlink loop during pods installation (#2917)
## Description @m-bert noticed that there is an error thrown by `expo-modules-autolinking` during pods installation: ``` { errno: -63, code: 'ENAMETOOLONG', syscall: 'scandir', path: '/Users/jakubpiasecki/Projects/gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/node_modules/react-native-gesture-handler/example/.expo/web/cache/production/images/android-adaptive-foreground/android-adaptive-foreground-1b8dcb90fc738c4915595ef280cf875ddd34a3e3cf504faaf74cea7fae212b92-cover-transparent' } ``` While the installation itself succeeds, it's unnecessarily prolonged. Patching the script not to follow symlinks solves the problem in our case where there is a symlink to two directories up inside the `node_modules`. ## Test plan Install pods in the example app
- Loading branch information