Closed dennispassway closed 2 years ago
Thank you and apologies for the typo in the original!
I used patch-package to fix it up locally, here's their auto-generated issue template in case it's useful for anyone else until @pmadruga kicks out a release
Cheers!
Today I used patch-package to patch react-native-clean-project@3.6.5
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-clean-project/source/internals/tasks.js b/node_modules/react-native-clean-project/source/internals/tasks.js
index 9da34ed..2d93714 100644
--- a/node_modules/react-native-clean-project/source/internals/tasks.js
+++ b/node_modules/react-native-clean-project/source/internals/tasks.js
@@ -91,7 +91,7 @@ const autoTasks = [
tasks.wipeiOSPodsFolder,
tasks.wipeSystemiOSPodsCache,
tasks.wipeUseriOSPodsCache,
- teask.cleanAndroidProject,
+ tasks.cleanAndroidProject,
tasks.wipeAndroidBuildFolder,
tasks.watchmanCacheClear,
tasks.wipeTempCaches,
This issue body was partially generated by patch-package.
Thanks for this ! Fixed in 3.6.6.
I just updated and it crashes on a typo, so here's a little fix :)