When running eas build, I get this inexplicable error
(I tried changing gradle versions, I still get the same error no matter the version)
Any help is greatly appreciated.
Full error:
[stderr]
⚠️ Cannot resolve the path to "eas-cli" package.
22[stderr]
FAILURE:
23[stderr]
Build failed with an exception.
24[stderr]
* What went wrong:
25[stderr]
A problem occurred configuring root project 'lbnapp_new'.
26[stderr]
> Could not determine the dependencies of null.
27[stderr]
> Could not resolve all task dependencies for configuration ':classpath'.
28[stderr]
> Could not find com.android.tools.build:gradle:7.6.1.
29[stderr]
Searched in the following locations:
30[stderr]
- http://10.4.1.4:8081/artifactory/libs-release/com/android/tools/build/gradle/7.6.1/gradle-7.6.1.pom
31[stderr]
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.6.1/gradle-7.6.1.pom
32[stderr]
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.6.1/gradle-7.6.1.pom
33[stderr]
Required by:
34[stderr]
project :
35[stderr]
> Could not find com.android.tools.build:gradle:7.6.1.
36[stderr]
Searched in the following locations:
37[stderr]
- http://10.4.1.4:8081/artifactory/libs-release/com/android/tools/build/gradle/7.6.1/gradle-7.6.1.pom
38[stderr]
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.6.1/gradle-7.6.1.pom
39[stderr]
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.6.1/gradle-7.6.1.pom
40[stderr]
Required by:
41[stderr]
project : > project :react-native-gradle-plugin
42[stderr]
* Try: