Im having a similar issue but with Gradle ,please see below:
[stderr]
FAILURE: Build failed with an exception.
172[stderr]
* What went wrong:
173[stderr]
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
174[stderr]
The following dependencies do not satisfy the required version:
175[stderr]
project ':expo-app-auth' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21
176[stderr]
* Try:
177[stderr]
> Run with --stacktrace option to get the stack trace.
178[stderr]
> Run with --info or --debug option to get more log output.
179[stderr]
> Run with --scan to get full insights.
180[stderr]
* Get more help at https://help.gradle.org
181[stderr]
BUILD FAILED in 3m 32s
182
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
183
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
184
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
185
10 actionable tasks: 10 executed
186
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.