Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* What went wrong: A problem occurred evaluating project ':@terrylinla_react-native-sketch-canvas'. > Could not find method provided() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. #234

Open
Arnav7501 opened this issue Mar 22, 2023 · 1 comment

Comments

@Arnav7501
Copy link

Please fix this issue in the newest release, i have to change the "provided" to "implementation" every time i run yarn install

@a-straetman
Copy link

patch-package allows you to automate this.

Simply make the change once manually and then run npx patch-package @terrylinla/react-native-sketch-canvas.
This will create a patch file under a new folder patches in the root of your project.

In your package.json, under scripts, add

{
  // ... the rest of your scripts
  "postinstall": "patch-package"
}

This will apply the patch each time you yarn install

@runchevski runchevski mentioned this issue Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants