This fails even when we filter those file using --exclude flag, as copySync (from fs-extra) fails for that symlink file irrespective of the filter flag
If I pass the filter option to exclude that file in CopyOptionsSync then it does not fail
OS: MacBook Pro, version: 15.5 (24F74)
patch-package version: 6.5.1
Context: I got this when I was building RN from source and made some changes and wanted to create patch out of it.
Error msg was: Error: ENOENT: no such file or directory, stat '/Users/user/project/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/API/hermes/hermes.framework/hermes'
Result of ls ls /Users/user/project/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/API/hermes/hermes.framework/hermes is as below
65691767 lrwxr-xr-x@ 1 user staff 23 Aug 6 17:48 /Users/user/project/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/API/hermes/hermes.framework/hermes@ -> Versions/Current/hermes
This fails even when we filter those file using
--excludeflag, ascopySync(fromfs-extra) fails for that symlink file irrespective of the filter flagIf I pass the
filteroption to exclude that file inCopyOptionsSyncthen it does not failOS: MacBook Pro, version:
15.5 (24F74)patch-package version:
6.5.1Context: I got this when I was building RN from source and made some changes and wanted to create patch out of it.
Error msg was:
Error: ENOENT: no such file or directory, stat '/Users/user/project/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/API/hermes/hermes.framework/hermes'Result of ls
ls /Users/user/project/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/API/hermes/hermes.framework/hermesis as below65691767 lrwxr-xr-x@ 1 user staff 23 Aug 6 17:48 /Users/user/project/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/API/hermes/hermes.framework/hermes@ -> Versions/Current/hermes