react-native-unimodules
react-native-unimodules copied to clipboard
Project with path ':unimodules-core' could not be found in project ':@unimodules_react-native-adapter'
This is the environment
"react-native": "^0.62.2",
"@unimodules/core": "^5.3.0",
"@unimodules/react-native-adapter": "^5.4.0",
This is the error
* Where:
Build file ~/App/node_modules/@unimodules/react-native-adapter/android/build.gradle' line: 68
* What went wrong:
A problem occurred evaluating project ':@unimodules_react-native-adapter'.
> Project with path ':unimodules-core' could not be found in project ':@unimodules_react-native-adapter'.
the offending line seems to be here
apply from: project(":unimodules-core").file("../unimodules-core.gradle")
the relative path "../unimodules-core.gradle" from this node_modules/@unimodules/react-native-adapter/android/build.gradle does not exist.
@unimodules
|
- core
|
- unimodules-core.gradle. << I think it is trying to include this?
-react-native-adapter
|
- android
|
- build.gradle << the relative path "../unimodules-core.gradle" does not resolve from here
is there any work around for this?
@jamiephillips0000 Facing the same issue. Found any solution ?
+1
+1
+1
Anyone with a fix?
+1
Anyone with a fix?
Removing all expo related modules solved my problem.
+1
I followed these steps to install react-native-unimodules
and I got that error because I didn't have the settings.gradle
file in android folder. Once I added that file and added this line apply from: '../node_modules/react-native-unimodules/gradle.groovy'; includeUnimodulesProjects ()
to it, the error is gone.