Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

patch package fails when file contains symbolic link to non existing file #580

Open
@atulgpt17

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /