Javascript 未能为程序包应用修补程序

Javascript 未能为程序包应用修补程序,javascript,react-native,Javascript,React Native,我试着运行一个新的React Native(Android)项目,这是我从某人那里得到的。当我运行Thread install时,会发生以下错误。我怎样才能解决这个问题?我是个新来的本地人 patch-package: Applying patches... **ERROR** Failed to apply patch for package react-native-confirmation-code-input This error was caused because Git c

我试着运行一个新的React Native(Android)项目,这是我从某人那里得到的。当我运行Thread install时,会发生以下错误。我怎样才能解决这个问题?我是个新来的本地人

patch-package: Applying patches...

**ERROR** Failed to apply patch for package react-native-confirmation-code-input

  This error was caused because Git cannot apply the following patch file:

    patches/react-native-confirmation-code-input+1.0.4.patch

  This is usually caused by inconsistent whitespace in the patch file.