Open SolankiYogesh opened 8 months ago
嗨!👋
首先,感谢您对这个项目的工作!🙂
今天我使用patch-package来修补
@terrylinla/react-native-sketch-canvas@0.8.0
我正在做的项目。以下是解决我的问题的差异:
diff --git a/node_modules/@terrylinla/react-native-sketch-canvas/android/build.gradle b/node_modules/@terrylinla/react-native-sketch-canvas/android/build.gradle index 31e44f2..8b192f5 100644 --- a/node_modules/@terrylinla/react-native-sketch-canvas/android/build.gradle +++ b/node_modules/@terrylinla/react-native-sketch-canvas/android/build.gradle @@ -28,5 +28,5 @@ android { } dependencies { - provided "com.facebook.react:react-native:+" + api "com.facebook.react:react-native:+" }
该问题主体部分由 patch-package 生成。
That doesn't solve my problem:
Could not resolve all files for configuration ':@terrylinla_react-native-sketch-canvas:releaseRuntimeClasspath'. Could not find react-native-0.71.0-rc.0-release.aar (com.facebook.react:react-native:0.71.0-rc.0). Searched in the following locations: https://jcenter.bintray.com/com/facebook/react/react-native/0.71.0-rc.0/react-native-0.71.0-rc.0-release.aar
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@terrylinla/react-native-sketch-canvas@0.8.0
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.